[R] Generating a time series.

rkevinburton at charter.net rkevinburton at charter.net
Fri Aug 29 21:11:10 CEST 2008


I have a bunch of lists that are essentially time-series with the unit of time being 'day'. So I naturally want to generate a time-series from 1:365. I was wondering if there is a nifty 'R' trick to turn a list with missing data (the list may contain values at 100, 230, and 360) into a time series with the missing data filled in (with zeros).

Thank you.

Kevin



More information about the R-help mailing list