impute: Impute missing values with the median/mode based on...

View source: R/process_data.R

imputeR Documentation

Impute missing values with the median/mode based on imputeMissings R package (removed from CRAN)

Description

Character vectors and factors are imputed with the mode. Numeric and integer vectors are imputed with median.

Usage

impute(data)

Arguments

data

A data frame with dummies or numeric variables.


tlverse/sl3 documentation built on Nov. 18, 2024, 12:46 a.m.