| params_med_cox | R Documentation |
This should be used in conjunction with est_med to
set parameters controlling Cox model estimation of mediation effects;
see examples.
params_med_cox(edge_ind = F)
edge_ind |
Boolean. If TRUE, an indicator variable corresponding to the lower limit of the marker will be included in the Cox model linear predictor. |
A list of options.
data(hvtn505)
dat <- load_data(time="HIVwk28preunblfu", event="HIVwk28preunbl", vacc="trt",
marker="IgG_V2", covariates=c("age","BMI","bhvrisk"),
weights="wt", ph2="casecontrol", data=hvtn505)
ests_med <- est_med(
dat = dat,
type = "Cox",
t_0 = 578,
params_np = params_med_cox(edge_ind=TRUE)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.