Description Usage Arguments Value Author(s)
This solution is optimized for the scenario that the dataset is very large but only contains missing values in a small number of columns.
1 2 3 4 5 | pre_impute(data, fun, ...)
pre_impute_median(data)
pre_impute_mean(data)
|
data |
Fitting and test datasets, as returned by |
fun |
Function for calculating imputation values. Should take a vector and return a scalar. |
... |
Sent to |
A pair of fitting and testing datasets.
Christofer Bäcklin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.