This package is based on the work presented in A. Jérolon et al., Causal mediation analysis in presence of multiple mediators uncausally related.
The work allowing multiple mediation analyzes with a survival outcome was largely developed with Arce Domingo-Relloso. This work is presented in Domingo-Relloso et al., Causal mediation for uncausally related mediators in the context of survival analysis.
You can install the package from the repository (https://github.com/samarafk/multimediate):
library(devtools)
# install_github("samarafk/multimediate")
install.packages("multimediate", repos = c('https://samarafk.r-universe.dev', 'https://cloud.r-project.org'))
Or you can install the released version of multimediate from CRAN with:
install.packages("multimediate")
Vignettes and examples of usage can be found in https://samarafk.github.io/multimediate/.