Description Usage Arguments Value
Impute Missing Values in a data frame
1 | impute_missing_vals(df, method = "mean")
|
df |
where ever column may be imputed (so each column is numeric) |
method |
of imputation, "mean" imputes the mean of the other values into the NA values. "bootstrap" resamples from non-NA vals. |
df of same dimension, now with no missing vals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.