View source: R/NA_imputation.R
randomize_na | R Documentation |
Imputes NAs by randomization
randomize_na(df, from = 1:4)
df |
data.frame, the data containing the NAs to be imputed. |
from |
A vector containing the possible imputed values. Defaults to |
data.frame Returns a data.frame with NAs in numeric columns imputed by randomization.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.