Description Usage Arguments Value Examples
This function will impute missing data in a tibble/dataframe given the chosen method(mean, median)
1 | imputation(fit_data, fill_data, method, constant = NULL)
|
fit_data |
list |
fill_data |
list |
method |
character |
constant |
character, default NULL |
list
1 2 | test_df <- data.frame('a' = c(1,NA,3), 'b' = c(5,6,NA), 'c' = c(NA,1,10))
test_df_imputed <- imputation(test_df, test_df, 'mean')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.