induce_missing: Induce Missing Values (NA) at Random

Description Usage Arguments Value Author(s) Examples

Description

Induce Missing Values (NA) at Random

Usage

1
induce_missing(x, amount = 0.1)

Arguments

x

a matrix or data.frame

amount

a float greater than 0 and smaller than 1 defining the amount of missing entries (NA).

Value

a copy of x with induced NA

Author(s)

David Navega

Examples

1
2
iris_missing <- induce_missing(iris)
print(head(iris_missing))

dsnavega/imputeForest documentation built on May 8, 2019, 2:43 p.m.