Description Usage Arguments Value
View source: R/data_preparation.R
A function to impute missing values. Is used as a data preparation helper function and is called internally by forecast_univariate, forecast_multivariate, and forecast_combine.
1 | data_impute(Data, method = "kalman", variables = NULL, verbose = FALSE)
|
Data |
data.frame: data frame of target variable, exogenous variables, and observed date (named 'date') |
method |
string: select which method to use from the imputeTS package; 'interpolation', 'kalman', 'locf', 'ma', 'mean', 'random', 'remove','replace', 'seadec', 'seasplit' |
variables |
string: vector of variables to standardize, default is all but 'date' column |
verbose |
boolean: show start-up status of impute.missing.routine |
data.frame with missing data imputed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.