The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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', '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.5.5
Depends: R (≥ 3.3.0)
Imports: stats, utils, grid, grDevices, ggplot2 (≥ 3.4.1), gtable (≥ 0.3.0), gridExtra (≥ 2.3), chk (≥ 0.8.1), rlang (≥ 0.4.0), crayon, backports (≥ 1.1.9)
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: 2024-04-02
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:

Reference manual: cobalt.pdf
Vignettes: Covariate Balance Tables and Plots: A Guide to the 'cobalt' Package
Frequently Asked Questions
Using 'cobalt' with Longitudinal Treatments
Using 'love.plot()' To Generate Love Plots
Optimizing Tuning Parameters for Balance
Using 'cobalt' with Other Preprocessing Packages
Using 'cobalt' with Clustered, Multiply Imputed, and Other Segmented Data

Downloads:

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

Reverse dependencies:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cobalt to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.