Displaying 2 results from an estimated 2 matches for "alyl32007z".
2012 May 29
1
problems with xlim in plot.zoo() and window()
I'm trying to get a minimally intuitive way of plotting zoo objects
extracted for given periods of time
I do:
> plot(alyL32007z$NEE_st,col=cod,type="b",pch=18,xlim=time(alyL32007z)[c(3000,15000)])
and get a correct plot but the expression for xlim is hard to read by humans.
I try
> time(alyL32007z)[c(3000,15000)]
[1] "2007-03-04 11:30:00 UTC" "2007-11-09 11:30:00 UTC"
> plot(alyL32007z$...
2012 May 28
2
zoo: variable gets modified at making zoo object
I'm doing:
> alyL32007z <- zoo(alyL32007,alyL32007$time)
> range(time(alyL32007z))
[1] "2007-01-01 00:00:00 UTC" "2007-12-31 23:30:00 UTC"
But then, while the original variable is:
> summary(alyL32007$NEE_st)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
-15.340 -1.615 -0.054...