Open Arroita opened 9 years ago
Might also think about imputing data for these missing values. This new package could be relevant: https://matloff.wordpress.com/2015/09/16/new-r-softwaremethodology-for-handling-missing-dat/
Also check out http://blog.rstudio.org/2016/02/02/tidyr-0-4-0/ and the complete()
, full_seq()
, and nesting()
functions for filling with NAs
other imputation packages: MissForest, MissMDA
Here what I do to make sure the time lag from row to row is constant. Let me know if you want me to modify it or check the data sets! Hope it helps.