plot_stand_diffs: Plot standardized differences in means

Description Usage Arguments Value References

View source: R/check_balance.R

Description

Used within the check_balance function to plot the standardized differences calculated in the format of Love (2002).

Usage

1

Arguments

sds

Standardized differences generated with get_stand_diffs.

type

One of the following, stating which standardized differences to plot:

across

standardized differences across the population

strata_avg

weighted average of the standardized differences within the strata (weighted by stratum size)

pair

two facets displaying both the previous plots together

strata

list of plots for the standardized differences within each stratum

Value

Either a ggplot object or a list of ggplot objects (if type is 'strata')

References

Love, T. E. (2002), "Displaying covariate balance after adjustment for selection bias", Joint Statistical Meetings, yumpu.com/en/document/read/41664623.


natstrat documentation built on Oct. 15, 2021, 5:12 p.m.