Displaying 1 result from an estimated 1 matches for "juv_avg".
Did you mean:
tuv_avg
2011 Nov 12
1
Subsetting data leads to funky plots
...ng data is imputed as negative data, so
first label it as NA
JuvFor=subset(Juv,(location==" 2 Outer 10 m") | (location==" 1 Outer 10
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 t...