Skip to content
Prev 138733 / 398503 Next

replace NA with 9999 in zoo object

It works just the same as matrices:
a   b
1   1 999
2 999  10
3   3  11
There are also a number of other methods for handling NAs in zoo:

na.approx
na.contiguous
na.locf
na.spline
na.trim

and na.stinterp in the stinepack package.
On Thu, Mar 6, 2008 at 8:09 AM, stephen sefick <ssefick at gmail.com> wrote: