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")
install.packages("TrialEmulation", repos = c('https://causal-lda.r-universe.dev', 'https://cloud.r-project.org'))
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.