Skip to content
Back to formatted view

Raw Message

Message-ID: <CAP01uRn3GvrJOtxrFjtYaan4snmPPeo0v5h0TVqREqD1YPZ9ew@mail.gmail.com>
Date: 2012-05-19T15:14:07Z
From: Gabor Grothendieck
Subject: how to predict/forecast missing values in time series ?
In-Reply-To: <aa602f0a-7a41-4407-b868-deebd5851bb0@email.android.com>

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