prodNA | R Documentation |
'prodNA' artificially introduces missing values. Entries in the given dataframe are deleted completely at random up to the specified amount.
prodNA(x, noNA = 0.1)
x |
dataframe subjected to missing value introduction. |
noNA |
proportion of missing values w.r.t. the number of entries of 'x'. |
dataframe with missing values.
Daniel J. Stekhoven, <stekhoven@stat.math.ethz.ch>
missForest
data(iris) ## Introduce 5% of missing values to the iris data set iris.mis <- prodNA(iris, 0.05) summary(iris.mis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.