Skip to content
Prev 4665 / 15274 Next

disaggregate from monthly to daily time series

Joshua Ulrich wrote:

            
Thank you, Brian and Joshua, for your suggestions. Having tried the code 
on a Ubuntu box running R 2.8.1, I'm inserting my comments below the 
relevant lines.
This line elicits the message "Error in strftime(x) : wrong class"
However the line seems to work o.k. if shortened to
m <- timeBasedSeq('2006-11/2009-07')
This line generates 50 or more warnings of the form
"In timeBasedSeq(x, NULL) : NAs introduced by coercion"
Are those the NAs Brian mentioned?
dim(mx) is 0, 1.  Doing "mx" gets the following response:
   Data:
   numeric(0)
   Index:
   integer(0)
Is that what was intended?
The end result on my box is three seemingly identical series: x, 
mtod.spline, mtod.linear. I'm still thinking about how they relate the 
problem of disaggregating a monthly series into smooth daily series with 
the original mean.