impute_mice: Imputes all missing values with the MICE (Multivariate...

View source: R/preprocessing_imputation.R

impute_miceR Documentation

Imputes all missing values with the MICE (Multivariate Imputation by Chained Equations) algorithm

Description

Imputes all missing values with the MICE (Multivariate Imputation by Chained Equations) algorithm

Usage

impute_mice(data, na_indicators = c(""), m = 5, verbose = FALSE)

Arguments

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.

Value

Imputed dataset.


ModelOriented/forester documentation built on June 6, 2024, 7:29 a.m.