plot.CBPSContinuous: Plot the pre-and-post weighting correlations between X and T

Description Usage Arguments

View source: R/CBPSMain.R

Description

Plot the pre-and-post weighting correlations between X and T

Usage

1
2
## S3 method for class 'CBPSContinuous'
plot(x, covars = NULL, silent = TRUE, boxplot = FALSE, ...)

Arguments

x

an object of class “CBPS” or “npCBPS”, usually, a result of a call to CBPS or npCBPS.

covars

Indices of the covariates to be plotted (excluding the intercept). For example, if only the first two covariates from balance are desired, set covars to 1:2. The default is NULL, which plots all covariates.

silent

If set to FALSE, returns the imbalances used to construct the plot. Default is TRUE, which returns nothing.

boxplot

If set to TRUE, returns a boxplot summarizing the imbalance on the covariates instead of a point for each covariate. Useful if there are many covariates.

...

Additional arguments to be passed to balance.


CBPS documentation built on Jan. 19, 2022, 1:07 a.m.