[R] how to predict/forecast missing values in time series ?

Gabor Grothendieck ggrothendieck at gmail.com
Sat May 19 17:14:07 CEST 2012


On Sat, May 19, 2012 at 11:09 AM, Jeff Newmiller
<jdnewmil at dcn.davis.ca.us> wrote:
> library (zoo)
> ?na.approx
>
> Note that you need to define an index (time base) to go along with your data, but that could be as simple as a sequence of integers.

Actually na.approx in the zoo package has a default method that works
with plain vectors too.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list