[R] dealing with NAs in time series

stephen sefick ssefick at gmail.com
Fri Sep 5 22:56:57 CEST 2008


look at zoo
na.approx
this will interpolate in a couple of ways

On Fri, Sep 5, 2008 at 11:28 AM, Alexy Khrabrov <deliverable at gmail.com> wrote:
> Certain timeseries I have had outliers, which I removed by assigning NA to
> their positions.  Now acf() refuses to go to work.  What's the right way to
> remove outliers from ts objects, and what are teh standard ways to
> interpolate NAs in them?
>
> Cheers,
> Alexy
>
> ______________________________________________
> R-help at 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.
>



-- 
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

	-K. Mullis



More information about the R-help mailing list