Skip to content

Commit

Permalink
version 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ngreifer authored and cran-robot committed Oct 6, 2019
1 parent 63db05e commit d74faf1
Show file tree
Hide file tree
Showing 38 changed files with 2,682 additions and 618 deletions.
10 changes: 5 additions & 5 deletions DESCRIPTION
@@ -1,12 +1,12 @@
Package: cobalt
Title: Covariate Balance Tables and Plots
Version: 3.8.0
Version: 3.9.0
Author: Noah Greifer [aut, cre]
Maintainer: Noah Greifer <noah.greifer@gmail.com>
Description: 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', 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.
Depends: R (>= 3.3.0)
Imports: ggplot2 (>= 3.0.0), grid (>= 3.6.1), gtable (>= 0.3.0),
gridExtra (>= 2.3.0), ggstance, crayon, backports (>= 1.1.1)
Imports: ggplot2 (>= 3.0.0), grid, gtable (>= 0.3.0), gridExtra (>=
2.3.0), ggstance, crayon, backports (>= 1.1.1)
Suggests: MatchIt, WeightIt (>= 0.5.0), twang, Matching, optmatch,
ebal, CBPS (>= 0.17), designmatch, optweight, mice, mlogit (>=
0.3-0), knitr, rmarkdown
Expand All @@ -17,6 +17,6 @@ VignetteBuilder: knitr
URL: https://github.com/ngreifer/cobalt
BugReports: https://github.com/ngreifer/cobalt/issues
NeedsCompilation: no
Packaged: 2019-09-11 22:25:54 UTC; NoahGreifer
Packaged: 2019-10-06 18:40:11 UTC; NoahGreifer
Repository: CRAN
Date/Publication: 2019-09-12 05:30:09 UTC
Date/Publication: 2019-10-06 19:10:02 UTC
68 changes: 37 additions & 31 deletions MD5
@@ -1,48 +1,53 @@
bc7ba7b5f7b14ba6284054a4d321aed0 *DESCRIPTION
70e5b2af4c6689abc8eb18c450251caa *NAMESPACE
d8fbbbb2b2b6396a51cc14fa925fd74e *NEWS.md
a5ce356f8678bd1b12cdbc3102f0bed5 *R/SHARED.R
b51e255115ee664125148c3a67ea0823 *DESCRIPTION
a4d777a34d4a7475163c98a96efe4787 *NAMESPACE
a72572f93d30594ec46608f818b45ca4 *NEWS.md
84d8739c383623a69e12736ebb7164a7 *R/SHARED.R
c54949539a75ebd9aa11a2cd42a0d7d1 *R/bal.plot.R
c8ce24b2fd5a38f24c860bb6cba557ce *R/bal.sum.R
1f3c8024c92fa50441999dcd24ae620b *R/bal.tab.R
828810809b156827192e9644d4f0652f *R/base.bal.tab.R
8ed3c52cfae4e954c997da426af2da9f *R/functions_for_processing.R
f11243283b91b59117835773cdf706f6 *R/get.w.R
8d905bfb058819f554443dd2d52b4b8b *R/base.bal.tab.R
21900befd94df68c01f3e9c54bde4335 *R/functions_for_processing.R
b40a85f79f9844832ded14dc386327d0 *R/get.w.R
97e9cbf360fcaf9871804058454dc688 *R/internal_utilities.R
1f6292eb1ae46224f434bd63250c8d10 *R/love.plot.R
51d3dd5f326078d92732228bb1bf7d69 *R/print.bal.tab.R
c198a302958d557571ee6ed5040d37be *R/love.plot.R
4aa8feabdaf148577f465471281dfb73 *R/print.bal.tab.R
45f6373c3f99b21a2766d90265d801a4 *R/utilities.R
5b5374e03cefae541389a0f61179115d *R/x2base.R
0230929ebe6a272d2311fcb946c97905 *README.md
176d47f909aaf85afed7e994b1f8bcf7 *build/partial.rdb
fa3731152afd9ee9a20fb5820f5bdc7a *build/vignette.rds
93e3353db8fdfeddee005661a1376cd2 *R/x2base.R
502b8f122d8c64e2686b05fa95e730c3 *README.md
1e4395c3da3ab30d2af5487e314a3108 *build/partial.rdb
ae18eee1c8e1ea76ca7c2874a7a0f0ee *build/vignette.rds
949b492287de79b9a90d520db98768c1 *data/lalonde.RData
d22e5afa667cdc190e348ae984c830a2 *data/lalonde_mis.RData
a2492c0d8d9712ae761d70d074150c31 *inst/doc/cobalt_A0_basic_use.R
737ba510a242ceb3aa5b99230883f6e5 *inst/doc/cobalt_A0_basic_use.Rmd
37e9fd969a42eb243066d043a8ed237f *inst/doc/cobalt_A0_basic_use.html
c30ec1c5b1a8f6321544cd0eb58c9234 *inst/doc/cobalt_A0_basic_use.Rmd
353bedb7bcc72648f4867317ed957f38 *inst/doc/cobalt_A0_basic_use.html
3921a39964c3c7b19bf5ba3e73042816 *inst/doc/cobalt_A1_other_packages.R
9d90692ada3d40403c2b5c084b5ac9f3 *inst/doc/cobalt_A1_other_packages.Rmd
353e1729c1ee5ba4ff8ca9bb4ab95867 *inst/doc/cobalt_A1_other_packages.html
ee47b42c158980d677f8ed80c951afce *inst/doc/cobalt_A1_other_packages.html
0b9d0e1d9df4e8e9360d3f82ce3e68f6 *inst/doc/cobalt_A2_cluster_imp.R
351641b376b05f177daeca68bde0a677 *inst/doc/cobalt_A2_cluster_imp.Rmd
8b8a42fbb19d83b4903cc697bfd2a67f *inst/doc/cobalt_A2_cluster_imp.html
61e184a454b1865e1a3a85a2fa6b9f0e *inst/doc/cobalt_A2_cluster_imp.html
c217feb718967eef1be87c679db69b03 *inst/doc/cobalt_A3_longitudinal_treat.R
e7f0e422126acc5e28e6a6d44d8e8e0a *inst/doc/cobalt_A3_longitudinal_treat.Rmd
b43e9a4a97494ef5122c83b164a33390 *inst/doc/cobalt_A3_longitudinal_treat.html
324de8fe4c2c8ce07434ae41b018702f *inst/figures/README-unnamed-chunk-3-1.png
5337340e8d5bbd86e9fa43c6ec979374 *inst/figures/README-unnamed-chunk-3-2.png
a15abda28669d58788e49478325e579a *inst/doc/cobalt_A3_longitudinal_treat.html
7f25395598692654ae23aa848067054c *inst/doc/cobalt_A4_love.plot.R
b2bd7809f9c62cfd6fc4e0d9b28b6ade *inst/doc/cobalt_A4_love.plot.Rmd
7f9b4b390183f46aa25cc423dc3f93ce *inst/doc/cobalt_A4_love.plot.html
f88103af5f8f2175584e3c6f7644ae67 *inst/figures/README-unnamed-chunk-3-1.png
efa6c6a2c6573fb7ad399c7a31fa0abb *inst/figures/README-unnamed-chunk-3-2.png
797f8b0a88cb066430299b3ae748efa8 *inst/figures/README-unnamed-chunk-3-3.png
926e4cc348503091490b5dd662255137 *inst/figures/README-unnamed-chunk-4-1.png
fd4116b048b9b693f174803a1c7cf930 *inst/figures/README-unnamed-chunk-4-1.png
e7e14ebae827f86f1ad39c2b4d576410 *man/bal.plot.Rd
71b2d518ce2197a4aa96729a2c8c0203 *man/bal.tab.CBPS.Rd
b031cdcb2a34e06a5613f1713b73507e *man/bal.tab.Match.Rd
8b5bce0c8eb0c01ffc5860f8da5a36a5 *man/bal.tab.Rd
a25b1608bbb704a4c20cb78e8a500035 *man/bal.tab.CBPS.Rd
a621f3c2f5e174d86f5b0338eb7796d3 *man/bal.tab.Match.Rd
2bdcbdea647019a22d690d1c33ca9ee7 *man/bal.tab.Rd
51174518330ade0219059f8c2fbe6436 *man/bal.tab.default.Rd
5f24497c31f0c23deb91d31d842ec3ee *man/bal.tab.df.formula.Rd
32cb2d908ce956926b848b0b063817d4 *man/bal.tab.df.formula.list.Rd
5d6d9c440f9eca36844c0b630e3fd0bd *man/bal.tab.matchit.Rd
55f1e578f12bb204f1355b850b560dc9 *man/bal.tab.ps.Rd
d5ae6363cc18c5dbae416042143025a4 *man/bal.tab.weightit.Rd
b9c6c887617cd15ef9e6a5cfdcb9f5c0 *man/bal.tab.df.formula.Rd
68c91eb85591a65eda1234a208f4ca4d *man/bal.tab.df.formula.list.Rd
f5e365856ed5fb53123f9c07280c4b03 *man/bal.tab.matchit.Rd
15f7d88d16cede16ef5f55302981d0a3 *man/bal.tab.ps.Rd
fb151f52c08bdbc9be36a0b9ab69d33e *man/bal.tab.weightit.Rd
f3c19a671a00f83e955c039e3412ef08 *man/balance.summary.Rd
b45d5c21b799d1cd63c1c64d5936b46a *man/class-bal.tab.cluster.Rd
33f8b0bf4f1923c488a09939c13acfd4 *man/class-bal.tab.imp.Rd
1ad72e1e4ae6218dce6b6e36ecf3745f *man/class-bal.tab.msm.Rd
Expand All @@ -51,14 +56,15 @@ f13017b34e5f0754c7de55719f7e00bb *man/class-bal.tab.multi.Rd
f308794bc3224c716195d1cff8ed7c7b *man/cobalt-package.Rd
5e3bc19341ae894cd36ae8ef38ddb3c4 *man/display_options.Rd
caef175070abae4758aadce5074fcd2e *man/f.build.Rd
6271eda96f92db111d527ccb637bf279 *man/get.w.Rd
73268c8d3169501e0a6b503cf31c9df5 *man/get.w.Rd
967ae0375d22a6d36eb1b56b36907344 *man/lalonde.Rd
5b4255e9d1e5d94ad96adc716b8ce13a *man/love.plot.Rd
d90422bdb2a3cd144311f2b17166710b *man/print.bal.tab.Rd
4ebf3f7cb697fadd5d356b8d4d27720d *man/set.cobalt.options.Rd
ece3fdbbc7e4ed2ca03b622c22b0cf84 *man/splitfactor.Rd
05a7e465db294a53fcc2eeddf8df06d3 *man/var.names.Rd
737ba510a242ceb3aa5b99230883f6e5 *vignettes/cobalt_A0_basic_use.Rmd
c30ec1c5b1a8f6321544cd0eb58c9234 *vignettes/cobalt_A0_basic_use.Rmd
9d90692ada3d40403c2b5c084b5ac9f3 *vignettes/cobalt_A1_other_packages.Rmd
351641b376b05f177daeca68bde0a677 *vignettes/cobalt_A2_cluster_imp.Rmd
e7f0e422126acc5e28e6a6d44d8e8e0a *vignettes/cobalt_A3_longitudinal_treat.Rmd
b2bd7809f9c62cfd6fc4e0d9b28b6ade *vignettes/cobalt_A4_love.plot.Rmd
5 changes: 2 additions & 3 deletions NAMESPACE
Expand Up @@ -9,11 +9,10 @@ importFrom("gtable", "gtable_col", "gtable_add_cols", "gtable_add_rows",
importFrom("gridExtra", "arrangeGrob", "gtable_cbind", "gtable_rbind")
importFrom("ggstance", "position_dodgev")

if (getRversion() < "3.5.0") importFrom("backports", "...elt", "...length")

export(bal.tab, bal.plot, love.plot, f.build, splitfactor,
unsplitfactor, get.w, var.names, set.cobalt.options,
get.cobalt.options)
get.cobalt.options,
col_w_mean, col_w_sd, col_w_smd, col_w_vr, col_w_ks, col_w_ovl, col_w_corr)
S3method(print, bal.tab)
S3method(print, bal.tab.subclass)
S3method(print, bal.tab.cluster)
Expand Down
16 changes: 16 additions & 0 deletions NEWS.md
@@ -1,6 +1,22 @@
`cobalt` News and Updates
======

Version 3.9.0

* Added vignette for use of `love.plot`.

* Changed `grid` version requirement.

* Updated README.

* Fixed bugs that would occur when using `love.plot()` with various combinations of `var.order`, multiple `stats`, and `agg.fun = "range"`.

* Fixed bugs that would occur when using `bal.tab()` with objects from the `Matching` package. Calculated statistics are now the same as those generated using `Matching::MatchBalance`. Changes based on updates to `get.w.Match()`.

* Added balance summary functions `col_w_mean`, `col_w_sd`, `col_w_smd`, `col_w_vr`, `col_w_ks`, `col_w_ovl`, and `col_w_corr`. These make it easier to get quick, simple summaries of balance without calling `bal.tab`, for example, for use in programming other functions. Some of these are now used inside `bal.tab` to increase speed and simplify internal syntax.

* Other small bug fixes.

Version 3.8.0

* Added the ability to display balance on multiple measures (e.g., mean differences, variance ratios, KS statistics) at the same time with `love.plot()`.
Expand Down

0 comments on commit d74faf1

Please sign in to comment.