View source: R/preprocessing_imputation.R
impute_mice | R Documentation |
Imputes all missing values with the MICE (Multivariate Imputation by Chained Equations) algorithm
impute_mice(data, na_indicators = c(""), m = 5, verbose = FALSE)
data |
A data source, that is one of the major R formats: data.table, data.frame, matrix, and so on. |
na_indicators |
A list containing the values that will be treated as NA indicators. By default the list is c(”). WARNING Do not include NA or NaN, as these are already checked in other criterion. |
m |
An integer describing the number of multiple imputations to use. By default set to 5. |
verbose |
A logical value, if set to TRUE, provides all information about preprocessing process, if FALSE gives none. |
Imputed dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.