cobalt: Covariate Balance Tables and Plots (original) (raw)

Generate balance tables and plots for covariates of groups preprocessed through matching, weighting or subclassification, for example, using propensity scores. Includes integration with 'MatchIt', 'WeightIt', 'MatchThem', 'twang', 'Matching', 'optmatch', 'CBPS', 'ebal', 'cem', 'sbw', and 'designmatch' for assessing balance on the output of their preprocessing functions. Users can also specify data for balance assessment not generated through the above packages. Also included are methods for assessing balance in clustered or multiply imputed data sets or data sets with multi-category, continuous, or longitudinal treatments.

Version: 4.6.1
Depends: R (≥ 4.1.0)
Imports: stats, utils, grid, grDevices, ggplot2 (≥ 3.5.0), gtable (≥ 0.3.6), gridExtra (≥ 2.3), chk (≥ 0.10.0), rlang (≥ 1.1.5), crayon (≥ 1.5.3)
Suggests: MatchIt (≥ 4.0.0), WeightIt (≥ 1.0.0), twang (≥ 1.6), twangContinuous, Matching, optmatch, ebal, CBPS (≥ 0.17), designmatch, optweight, mice (≥ 3.8.0), MatchThem (≥ 0.9.3), cem (≥ 1.1.30), sbw (≥ 1.1.5), gbm (≥ 2.1.7), brglm2 (≥ 0.9), caret, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-08-20
DOI: 10.32614/CRAN.package.cobalt
Author: Noah Greifer ORCID iD [aut, cre]
Maintainer: Noah Greifer <noah.greifer at gmail.com>
BugReports: https://github.com/ngreifer/cobalt/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://ngreifer.github.io/cobalt/,https://github.com/ngreifer/cobalt
NeedsCompilation: no
Materials: README, NEWS
In views: CausalInference, MissingData
CRAN checks: cobalt results

Documentation:

Downloads:

Reverse dependencies:

Reverse imports: beastt, debiasedTrialEmulation, missDiag, MultiObjMatch, mvGPS, sim.BA, WeightIt
Reverse suggests: causalCmprsk, fwb, independenceWeights, insight, marginaleffects, MatchIt, MatchThem, nullranges, optweight, parameters, psborrow2

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=cobaltto link to this page.