christophsax / tempdisagg

Methods for Temporal Disaggregation and Interpolation of Time Series
http://cran.r-project.org/web/packages/tempdisagg
36 stars 5 forks source link

treatment of data.frames, error messages #19

Closed christophsax closed 8 years ago

christophsax commented 9 years ago

entering data like this leads to misleading error message

gdp_m <- td(qrt$gdp_q ~ month$gr_m, to = "monthly", method = "chow-lin-maxlog")

Error messages:
Error in td(qrt$gdp_q ~ month$gr_m, to = "monthly", method = "chow-lin-maxlog") : 
 In non-ts mode, 'to' must be an integer number.
In addition: Warning message:
In td(qrt$gdp_q ~ month$gr_m, to = "monthly", method = "chow-lin-maxlog") :
 Only left hand side is a time series. Using non-ts mode.
christophsax commented 8 years ago

cannot reproduce, and the main error message is actually correct. Just the last warning makes not much sense.