The medRCT
R package provides facilities for the estimation of
interventional effects that emulate a target trial.
You can install the development version of medRCT from GitHub with:
# install.packages("devtools")
devtools::install_github("T0ngChen/medRCT")