Package: confoundr
Type: Package
Title: Diagnostics for Confounding of Time-Varying and Other Joint
        Exposures
Version: 1.2
Date: 2019-08-23
Authors@R: c(person(given = "John W.", family = "Jackson",email = "john.jackson@jhu.edu", role = c("aut", "cre")),person(given =  "Erin", family = "Schnellinger",role = c("ctb")),person(given =  "Linda", family = "Valeri",role = c("ctb")))
Maintainer: John W. Jackson <john.jackson@jhu.edu>
Description: Implements three covariate-balance diagnostics for time-varying confounding and selection-bias in complex longitudinal data, as described in Jackson (2016) <doi:10.1097/EDE.0000000000000547> and Jackson (2019) <doi:10.1093/aje/kwz136>. Diagnostic 1 assesses measured confounding/selection-bias, diagnostic 2 assesses exposure-covariate feedback, and diagnostic 3 assesses residual confounding/selection-bias after inverse probability weighting or propensity score stratification. All diagnostics appropriately account for exposure history, can be adapted to assess a particular depth of covariate history, and can be implemented in right-censored data. Balance assessments can be obtained for all times, selected-times, or averaged across person-time. The balance measures are reported as tables or plots. These diagnostics can be applied to the study of multivariate exposures including time-varying exposures, direct effects, interaction, and censoring.
Depends: R (>= 3.1.0),
License: GPL-3
Imports: grid,gridExtra (>= 2.3),scales (>= 0.5.0),Rmpfr (>=
        0.7-0),dplyr (>= 0.7.5),tidyr (>= 0.8.1),ggplot2 (>=
        2.2.1),magrittr (>= 1.5),stringr (>= 1.3.1),purrr (>=
        0.2.5),rlang (>= 0.2.1),stats
LazyData: TRUE
VignetteBuilder: knitr
Suggests: covr,knitr,rmarkdown,testthat,broom (>= 0.4.4)
BugReports: https://github.com/jwjackson/confoundr/issues
RoxygenNote: 6.1.1
Encoding: UTF-8
NeedsCompilation: no
Packaged: 2019-09-19 22:22:31 UTC; jjack
Author: John W. Jackson [aut, cre],
  Erin Schnellinger [ctb],
  Linda Valeri [ctb]
Repository: CRAN
Date/Publication: 2019-09-20 04:40:02 UTC
Built: R 4.0.0; ; 2020-04-10 09:54:23 UTC; windows
