[R] ts acf accessing to values

juli g. pausas juli at ceam.es
Wed May 8 16:16:34 CEST 2002


Hi,
I don't quite understant how can I access to the acf values from the
list produced by the acf function
Example:

library(ts)
t <- acf(ts.union(ts(1:10), ts(11:20)))
t$acf
> tmp$acf
, , 1

            [,1]        [,2]
[1,]  1.00000000  1.00000000
[2,]  0.70000000  0.70000000
[3,]  0.41212121  0.41212121
[4,]  0.14848485  0.14848485
[5,] -0.07878788 -0.07878788
[6,] -0.25757576 -0.25757576
[7,] -0.37575758 -0.37575758

, , 2

            [,1]        [,2]
[1,]  1.00000000  1.00000000
[2,]  0.70000000  0.70000000
[3,]  0.41212121  0.41212121
[4,]  0.14848485  0.14848485
[5,] -0.07878788 -0.07878788
[6,] -0.25757576 -0.25757576
[7,] -0.37575758 -0.37575758

Any help on how can I access to the vector with the acf values?
Or perhaps I misusing the acf function ....
Thanks in advance

Juli

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list