Implements target trial emulation methods to apply randomized clinical trial design and analysis in an observational setting. Using marginal structural models, it can estimate intention-to-treat and per-protocol effects in emulated trials using electronic health records. A description and application of the method can be found in Danaei et al (2013) <doi:10.1177/0962280211403603>.
Version: | 0.0.4.0 |
Depends: | R (≥ 4.0.0) |
Imports: | broom (≥ 0.7.10), checkmate, data.table (≥ 1.9.8), DBI, duckdb, formula.tools, lifecycle, lmtest, methods, mvtnorm, parglm, Rcpp, sandwich |
LinkingTo: | Rcpp |
Suggests: | knitr, parsnip, rmarkdown, rpart, testthat (≥ 3.0.0), withr |
Published: | 2024-11-29 |
DOI: | 10.32614/CRAN.package.TrialEmulation |
Author: | Isaac Gravestock [aut, cre], Li Su [aut], Roonak Rezvani [aut] (Original package author), Julia Moesch [aut], Medical Research Council (MRC) [fnd], F. Hoffmann-La Roche AG [cph, fnd] |
Maintainer: | Isaac Gravestock <isaac.gravestock at roche.com> |
BugReports: | https://github.com/Causal-LDA/TrialEmulation/issues |
License: | Apache License (≥ 2) |
URL: | https://causal-lda.github.io/TrialEmulation/, https://github.com/Causal-LDA/TrialEmulation |
NeedsCompilation: | yes |
Language: | en-GB |
Materials: | README NEWS |
CRAN checks: | TrialEmulation results |
Reference manual: | TrialEmulation.pdf |
Vignettes: |
Extending-TrialEmulation (source, R code) Getting-Started (source, R code) New Interface (source, R code) |
Package source: | TrialEmulation_0.0.4.0.tar.gz |
Windows binaries: | r-devel: TrialEmulation_0.0.4.0.zip, r-release: TrialEmulation_0.0.4.0.zip, r-oldrel: TrialEmulation_0.0.4.0.zip |
macOS binaries: | r-release (arm64): TrialEmulation_0.0.4.0.tgz, r-oldrel (arm64): TrialEmulation_0.0.4.0.tgz, r-release (x86_64): TrialEmulation_0.0.4.0.tgz, r-oldrel (x86_64): TrialEmulation_0.0.4.0.tgz |
Old sources: | TrialEmulation archive |
Please use the canonical form https://CRAN.R-project.org/package=TrialEmulation to link to this page.