Ok strangely both acf and pacf work with the xts object as long as the xts package hasn't been loaded. As soon as I load the package, I get the error again.
tmakino wrote: > > I'm trying to apply a acf/pacf function to a xts object and get the > following error: > > Error in if (frequency > 1 && abs(frequency - round(frequency)) < ts.eps) > frequency <- round(frequency) : > missing value where TRUE/FALSE needed > > Any ideas? Thanks. > -- View this message in context: http://www.nabble.com/Error-with-acf-pacf-functions-tp25029832p25047616.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.