Calls the appropriate plot function, based on the number of treatments
# S3 method for npCBPS
plot(x, covars = NULL, silent = TRUE, ...)
an object of class “CBPS” or “npCBPS”, usually, a
result of a call to CBPS
or npCBPS
.
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.
If set to FALSE
, returns the imbalances used to
construct the plot. Default is TRUE
, which returns nothing.
Additional arguments to be passed to balance.