get_pairs | R Documentation |
A function that returns final mediation-exposure matrix.
get_pairs(res_SMAHP)
res_SMAHP |
Outputs from SMAHP |
Mediation-exposure matrix.
data(example_dat)
surv_dat <- example_dat$surv_dat
res_SMAHP <- SMAHP(example_dat$X, example_dat$M, example_dat$C, time = surv_dat$time,
status = surv_dat$status)
get_pairs(res_SMAHP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.