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.8 |
| Depends: | R (≥ 4.1.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: | 2025-11-19 |
| DOI: | 10.32614/CRAN.package.TrialEmulation |
| Author: | Isaac Gravestock |
| 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.html ,TrialEmulation.pdf |
| Vignettes: | Extending-TrialEmulation (source,R code) Getting-Started (source,R code) New Interface (source,R code) |
| Package source: | TrialEmulation_0.0.4.8.tar.gz |
| Windows binaries: | r-devel:TrialEmulation_0.0.4.8.zip, r-release:TrialEmulation_0.0.4.8.zip, r-oldrel:TrialEmulation_0.0.4.8.zip |
| macOS binaries: | r-release (arm64):TrialEmulation_0.0.4.8.tgz, r-oldrel (arm64):TrialEmulation_0.0.4.8.tgz, r-release (x86_64):TrialEmulation_0.0.4.8.tgz, r-oldrel (x86_64):TrialEmulation_0.0.4.8.tgz |
| Old sources: | TrialEmulation archive |
Please use the canonical formhttps://CRAN.R-project.org/package=TrialEmulationto link to this page.