powered by
Overimp main function to call different imputation methods.
overimp( data, m = 5, p = 0.2, test_ratio = 0, method = "mixgb", seed = NULL, ... )
An overimp object containing imputed training, test data (if applicable) and essential parameters required for plotting.
overimp
A data frame with missing values.
The number of imputation.
The extra proportion of missing values.
The proportion of test set. Default is 0, meaning no test set.
Can be one of the following: "mixgb","mice", and more in the future.
Random seed.
Other arguments to be passed into the overimp function.
obj <- overimp(data = nhanes3, m = 3, p = 0.2, test_ratio = 0.2, method = "mixgb")
Run the code above in your browser using DataLab