plot.hbal: Plotting Covariate Balance from an 'hbal' Object

View source: R/classFunctions.R

plot.hbalR 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


hbal documentation built on Sept. 10, 2025, 10:36 a.m.

Related to plot.hbal in hbal...