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

Description Usage Arguments Value

View source: R/functions.R

Description

Replaces missing (NA) values with zero. 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/R_ml_utils documentation built on May 3, 2019, 4:07 p.m.