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)
This package implements algorithms to conduct a sequence of target trials analysis.
The package is available on CRAN:
install.packages('TrialEmulation')
To install the latest development version from github:
remotes::install_github("Causal-LDA/TrialEmulation")
Please see our Getting Started vignette for information on how to work with this package.
A manuscript is in preparation to fully describe the methodology.