cobalt: Covariate Balance Tables and Plots

Generate balance tables and plots for covariates of groups preprocessed through matching, weighting or subclassification, for example, using propensity scores. Includes integration with 'MatchIt', 'twang', 'Matching', 'optmatch', 'CBPS', 'ebal', 'WeightIt', '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 longitudinal treatments.

Version: 4.3.1
Depends: R (≥ 3.3.0)
Imports: ggplot2 (≥ 3.3.0), grid, gtable (≥ 0.3.0), gridExtra (≥ 2.3), rlang (≥ 0.4.0), crayon, backports (≥ 1.1.8)
Suggests: MatchIt, WeightIt (≥ 0.5.0), twang (≥ 1.6), Matching, optmatch, ebal, CBPS (≥ 0.17), designmatch, optweight, mice (≥ 3.8.0), MatchThem (≥ 0.9.3), cem (≥ 1.1.27), mlogit, knitr, rmarkdown
Published: 2021-03-30
Author: Noah Greifer ORCID iD [aut, cre]
Maintainer: Noah Greifer <noah.greifer at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: cobalt results


Reference manual: cobalt.pdf
Vignettes: Covariate Balance Tables and Plots: A Guide to the cobalt Package
Appendix 1: Using cobalt with Other Preprocessing Packages
Appendix 2: Using cobalt with Clustered, Multiply Imputed, and Other Segmented Data
Appendix 3: Using cobalt with Longitudinal Treatments
Appendix 4: Using love.plot To Generate Love Plots


Package source: cobalt_4.3.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cobalt_4.3.1.tgz, r-release (x86_64): cobalt_4.3.1.tgz, r-oldrel: cobalt_4.3.1.tgz
Old sources: cobalt archive

Reverse dependencies:

Reverse imports: missDiag, mvGPS, WeightIt
Reverse suggests: causalCmprsk, MatchIt, MatchThem, nullranges, optweight


Please use the canonical form to link to this page.