ezr.impute: Impute values

Description Usage Arguments

Description

Impute values in your dataframe on missings. Pick either mean or median for numericals. Mode is used for categoricals.

Usage

1
2
ezr.impute(dataset, use_mean = FALSE, use_median = TRUE,
  only_columns = NULL, adjust_chars = FALSE, exclude_columns = NULL)

Arguments

dataset

Dataset

use_mean

Impute with the mean value?

use_median

Impute with the median value? This is the default value

only_columns

Just look at these specific columns

adjust_chars

Should character/factor columns be imputed with mode? Default is FALSE

exclude_columns

Do not adjust these columns at at all.


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.