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

td doesn't run for disaggregation of numeric vector with no auxiliar indicator #21

Closed reisfe closed 9 years ago

reisfe commented 9 years ago

Example: class(sales.a) <- NULL mod3 <- td(sales.a ~ 1, to = 4, method = "denton-cholette")

Result: Error in get(X.series.names[1], envir = environment(X.formula)) : object 'NA' not found

christophsax commented 9 years ago

Thanks for the report! Fixed in the latest dev. Install with

install.packages("devtools")       
devtools::install_github('christophsax/tempdisagg')