compareDistribution: Compare Distributions of Original vs. Imputed Data

View source: R/compareDistribution.R

compareDistributionR Documentation

Compare Distributions of Original vs. Imputed Data

Description

Create a plot with two density layers representing the distribution of the test variable for both the original and imputed data.

Usage

compareDistribution(original, imputed, by)

Arguments

original

The original, unimputed data.

imputed

The data with missing values imputed.

by

The variable to plot the distributions of that both original and imputed have.

Value

Returns a ggplot density plot containing a line for each data object.

Examples

compareDistribution(data, data_imputed, "values")


Echinoidea/hooks-imputation documentation built on May 8, 2022, 4:39 p.m.