CRAN/E | cobalt

cobalt

Covariate Balance Tables and Plots

Installation

About

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.

ngreifer.github.io/cobalt/
github.com/ngreifer/cobalt
Bug report File report

Key Metrics

Version 4.5.5
R ≥ 3.3.0
Published 2024-04-02 16 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks cobalt results

Downloads

Yesterday 308 0%
Last 7 days 1.554 -33%
Last 30 days 7.555 -5%
Last 90 days 25.079 +23%
Last 365 days 100.804 -26%

Maintainer

Maintainer

Noah Greifer

noah.greifer@gmail.com

Authors

Noah Greifer

aut / cre

Material

README
NEWS
Reference manual
Package source

In Views

CausalInference
MissingData

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

cobalt archive

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

Reverse Imports

missDiag
MultiObjMatch
mvGPS
WeightIt

Reverse Suggests

causalCmprsk
independenceWeights
MatchIt
MatchThem
nullranges
optweight