Skip to content
Prev 69612 / 398525 Next

acf problem ?

Ernesto Jardim wrote on 5/12/2005 11:01 AM:
Hi, Ernesto,

What is Recsim[1,]? I can reproduce this error using:

 > acf(c(lh), 1)
 > acf(matrix(lh,ncol=1), 1)
 > acf(matrix(lh,nrow=1), 1)
Error in acf(matrix(lh, nrow = 1), 1) : 'lag.max' must be at least 1

So, maybe try

acf(c(Recsim[1,]), lag.max=1)

HTH,

--sundar