[R] zoo timeserie continuous? complete with NaN
    marcg 
    mdgi at gmx.ch
       
    Tue Oct  2 17:39:34 CEST 2007
    
    
  
dear r-list
I have a zoo object with 2 objects and time:
looks like:
2005-12-31 12:00:00   NA          NaN
2005-12-31 13:00:00   NA          NaN
2005-12-31 14:00:00   NA          NaN
2005-12-31 15:00:00   NA          NaN
2005-12-31 16:00:00   NA          NaN
2005-12-31 18:00:00   NA          NaN
2005-12-31 19:00:00   NA          NaN
2005-12-31 20:00:00   NA          NaN
2005-12-31 21:00:00   NA          NaN
2005-12-31 22:00:00   NA          NaN
2005-12-31 23:00:00   NA          NaN
its much longer though...
As you can see, the values for 2005-12-31 17:00:00 miss. How can I let R show me if the timeseries is continuous and if not, to fill up with NaN values (i need a continuous timeseries). is there a function like complete.timeseries(missing=NA)?
Thanks fpr your help
Marc
--
    
    
More information about the R-help
mailing list