[R] acf problem ? SOLVED

Ernesto Jardim ernesto at ipimar.pt
Thu May 12 18:35:28 CEST 2005


Ernesto Jardim wrote:

> Hi
>
> I'm getting the following error that do not make sense to me, what am 
> Idoing wrong ?
>
> > acf(Recsim[1,], lag.max=1)
> Error in acf(Recsim[1, ], lag.max = 1) : 'lag.max' must be at least 1
>
> Regards
>
> EJ
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

Hi

The problem was that Recsim[1,] was not numeric.

EJ




More information about the R-help mailing list