Learn R Programming

couplr (version 1.0.10)

plot.balance_diagnostics: Plot method for balance diagnostics

Description

Produces a Love plot (dot plot) of standardized differences.

Usage

# S3 method for balance_diagnostics
plot(x, type = c("love", "histogram", "variance"), threshold = 0.1, ...)

Value

The balance_diagnostics object (invisibly)

Arguments

x

A balance_diagnostics object

type

Type of plot: "love" (default), "histogram", or "variance"

threshold

Threshold line for standardized differences (default: 0.1)

...

Additional arguments passed to plotting functions