Displaying 1 result from an estimated 1 matches for "tslist".
Did you mean:
gslist
2006 Apr 28
1
plot acf of several timeseries
...xxx 1961 -1.09
2 xxx 1962 0.21
3 xxx 1963 -0.81
[trimmed]
8 yyy 1959 1.12
9 yyy 1960 1.44
10 yyy 1961 -1.97
[trimmed]
I transformed them to a list of ts-objects and did the plotting via
lapply():
> tslist <- by(test.data, test.data$item,
function(x) ts(x$value, start=min(x$year), end=max(x$year)) )
> par(mfcol=c(length(tslist), 1))
> lapply(tslist, acf)
Is there a possibility to adapt the procedure so that the name of
"item" ('xxx',...