View source: R/treatment_details.R
treatment_details | R Documentation |
Specify the treatment arm column name in the model matrix and set a prior distribution for the treatment effect (log hazard ratio or log odds ratio)
treatment_details(trt_flag_col, trt_prior)
trt_flag_col |
character. The name of the column
in the model matrix that corresponds to the treatment flag
( |
trt_prior |
Object of class |
Object of class Treatment
.
sta <- treatment_details(
trt_flag_col = "trt",
trt_prior = prior_normal(0, 1000)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.