Displaying 1 result from an estimated 1 matches for "r_acf".
Did you mean:
acf
2010 Dec 08
1
Newbie trying to understand $ so I can understand acf function in stats
I am trying to understand the function acf
stats:::acf shows me the function
I am having trouble understanding the usage "$acf" in the following
acf <- array(.C(R_acf, as.double(x), as.integer(sampleT),
as.integer(nser), as.integer(lag.max), as.integer(type ==
"correlation"), acf = double((lag.max + 1L) * nser *
nser), NAOK = TRUE)$acf, c(lag.max + 1L, nser, nser))
I interpret it as ... we are forming an array of dim...