[R] Meaning of "lag 0.2, 0.4,..." ?

Steve Chen steve at stat.tku.edu.tw
Thu Apr 8 10:05:47 CEST 2010


Hi Bogaso,

You could try this to get integer x-axis values:

library(zoo)
z = zooreg(rnorm(39), start=as.yearmon("2008-01-01"), frequency=12)

acf(ts(z,freq=1))

Steve Chen

On 2010/4/8 下午 03:32, Bogaso wrote:
> 
> Please see that correlogram for a arbitrary time series :
> 
> acf(zooreg(rnorm(39), start=as.yearmon("2008-01-01"), frequency=12))
> 
> What is the meaning of lag 0.2, 0.4, ........ in the plot? Those should not
> be integers? Or I am missing something?
> 
> Thanks



More information about the R-help mailing list