View source: R/compareDistribution.R
compareDistribution | R Documentation |
Create a plot with two density layers representing the distribution of the test variable for both the original and imputed data.
compareDistribution(original, imputed, by)
original |
The original, unimputed data. |
imputed |
The data with missing values imputed. |
by |
The variable to plot the distributions of that both
|
Returns a ggplot density plot containing a line for each data object.
compareDistribution(data, data_imputed, "values")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.