get_pairs {SMAHP}R Documentation

A function that returns mediation-exposure matrix

Description

A function that returns final mediation-exposure matrix.

Usage

get_pairs(res_SMAHP)

Arguments

res_SMAHP

Outputs from SMAHP

Value

Mediation-exposure matrix.

Examples


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)


[Package SMAHP version 0.0.5 Index]