plot.hbal {hbal}R Documentation

Plotting Covariate Balance from an hbal Object

Description

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

Usage

## S3 method for class '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(s)

Yiqing Xu, Eddie Yang


[Package hbal version 1.2.12 Index]