View source: R/impute_modelled_data.R
impute_modelled_data | R Documentation |
Returns a matrix or a list of matrices with imputed missing values or outliers. As argument the function requires an object of class "tsrobprep" and the quantiles to be imputed.
impute_modelled_data(object, tau = NULL)
object |
an object of class "tsrobprep" that is an output of function model_missing_data. |
tau |
the quantile(s) of the missing values to be imputed. tau should be a subset of the quantile values present in the "tsrobprep" object. By default all quantiles present in the object are used. |
A matrix or a list of matrices with imputed missing values or outliers. \insertNoCite*tsrobprep
model_missing_data, detect_outliers, auto_data_cleaning
## Not run: model.miss <- model_missing_data( data = GBload[,-1], S = c(48,7*48), no.of.last.indices.to.fix = dim(GBload)[1], consider.as.missing = 0, min.val = 0 ) model.miss$estimated.models model.miss$replaced.indices new.GBload <- impute_modelled_data(model.miss) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.