replace_NAs_with_medians: Replace missing values in a dataframe with medians

View source: R/replace_NAs_with_medians.R

replace_NAs_with_mediansR Documentation

Replace missing values in a dataframe with medians

Description

Function to replace missing values in each variable with the median value on that variable. Factor and character columns will be ignored.

Usage

replace_NAs_with_medians(data)

Arguments

data

Dataframe.

Examples

mice::boys
replace_NAs_with_medians(mice::boys)

wepelham3/sack2 documentation built on Aug. 5, 2023, 5:53 a.m.