View source: R/impute_w_mean.R
impute_w_mean | R Documentation |
Imputes NA/missing values in a vector with random values plus/minus the percent around the mean of the values in vector
impute_w_mean(v, p = 5)
v |
A numeric vector containing NAs |
p |
the percent around the mean, e.g. p=5%=5 |
The input vector with NAs imputed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.