Description Usage Arguments Examples
Basic (naive) imputation for missing values in a data.table.
1 | base_impute(dt, type = "median", impute_col, group_by = "")
|
dt |
A data.table with a column of with missing values. |
type |
The type of imputation to be done; options are 'mean', 'median', and 'zero'. |
impute_col |
The column on which to perform imputation. |
group_by |
The columns to group the imputation method by. |
1 | base_impute(bee.data, "median", "TOTAL_COUNT", c("MONTH", "DAY"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.