powered by
Function for testing missing value imputation algorithms
introNAs(data, percent = 25)
a dataset without missing values.
the percent data that should be randomly assigned as missing
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
A completed data frame is returned with the desired percentage of missing data. NAs are assigned at random.
NAs
dat <- introNAs(iris) dat
Run the code above in your browser using DataLab