Message-ID: <e0bbde350901190045k57e44b78lc80b5328a4af3f16@mail.gmail.com>
Date: 2009-01-19T08:45:14Z
From: Harsh
Subject: time series contains internal NAs error
Hello R List,
I seem to have a peculiar problem. When using time series data, I get
the following error when running the acf and pacf function.
Using the function acf(dtxts,plot= TRUE,xaxt = "n",col="red",na.action
= na.omit) (where dtxts is a time series object created with package
"xts" ) results in the error below.
Error in na.omit.ts(as.ts(x)) : time series contains internal NAs
The above error is seen in R 2.8.0 running on Linux.
The same function does not yield any error in R 2.8.0 on a Windows system.
I've also tried na.remove(dtxts) from the "tseries" package to solve
this problem but to no avail.
Thank you.
Harsh Singhal
Decision Systems
Mu Sigma Inc.,