Skip to content
Prev 295037 / 398506 Next

how to predict/forecast missing values in time series ?

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.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
sagarnikam123 <sagarnikam123 at gmail.com> wrote: