Description Usage Arguments Value Author(s) Examples
Induce Missing Values (NA) at Random
1 | induce_missing(x, amount = 0.1)
|
x |
a matrix or data.frame |
amount |
a float greater than 0 and smaller than 1 defining the amount of missing entries (NA). |
a copy of x with induced NA
David Navega
1 2 | iris_missing <- induce_missing(iris)
print(head(iris_missing))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.