set.missing.to.mean: Replace numeric missing values with mean

Description Usage Arguments Value

Description

Replaces missing (NA) values with column mean. Only applicable for numerics.

Usage

1

Arguments

data

- data frame with variables of interest

variables

- vector of numeric variables to replace missing values

Value

data frame with replaced missing values for selected variables


konstantin-kotochigov/ML-UTILS documentation built on May 17, 2019, 7:30 p.m.