search for: juv_sum1

Displaying 1 result from an estimated 1 matches for "juv_sum1".

2011 Nov 12
1
Subsetting data leads to funky plots
...0 m")) #Subset the data of interest Juv_Sum_by_quad=aggregate(count~year+location+quadrat_juvenile,data= JuvFor,sum) # Calculate sum of each quadrat Juv_Avg=aggregate(count~year+location,data=Juv_Sum_by_quad, mean) #Calculate yearly means So far so good..... I thought I could do this: plot(Juv_Sum1$year, Juv_Sum1$count,type="L") But not only do I get odd separate lines as opposed to a time series line plot, but I the first tick mark on the x-axis lists the amount of rows in my data. I can fix it by saving the final object as a .csv and reloading it the data- but that defeats the wh...