Description Usage Arguments Examples
Typically used to compare imputed data with original data. I've used it in conjunction with the missForest package. The function returns a ggplot that shows the density of imputed data vs. original data.
1 | plot_imputation_results(original, imputed)
|
original |
The original data.frame |
imputed |
The imputed data.frame |
1 2 3 4 5 6 | library(missForest)
aq <- airquality
aq_imp <- missForest(aq)
plot_imputation_results(aq[1:3], aq_imp$ximp[1:3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.