Arguments
- ds
(
data.frame)
Any data set.- na_vars
-
(
list)
A named list where the name of each element is a column name ofds. Each element of this list should be a numeric vector with two elements:seed(numeric)
The seed to be used for this element - can beNA.percentage(proportion)
Percentage of elements to be replaced withNA. IfNA,na_percentageis used as a default.
- na_percentage
(
proportion)
Default percentage of values to be replaced byNA.