Skip to contents

This function plots the covariate difference between the control and treatment groups in standardized means before and after weighting.

Usage

# S3 method for hbal
plot(x, type = 'balance', log = TRUE, base_size = 10, ...)

Arguments

x

an object of class hbalobject as returned by hbal.

type

type of graph to plot.

log

log scale for the weight plot

base_size

base font size

...

Further arguments to be passed to plot.hbal().

Value

A matrix of ggplots of covariate balance by group

Author

Yiqing Xu, Eddie Yang