Create a pp module which imputes missing data.
1 2 3 | pp_na_impute(num_cols, cat_cols, num_method = "mean",
cat_method = "frequent", desc = NULL, data = NULL,
standby = TRUE)
|
num_cols |
A character vector. Specify the names of numerical features. |
cat_cols |
A character vector. Specify the names of categorical features. |
num_method |
A character. Method for imputing numerical features. Choose one of ("mean", "median", "frequent"). |
cat_method |
A character. Method for imputing categorical features. Only "frequent" is available. |
desc |
(optional) Description of the module. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.