LabeljsCox | R Documentation |
Apply label information to cox2.display object using label data
LabeljsCox(obj, ref)
obj |
cox2.display object |
ref |
Label data made by mk.lev function |
DETAILS
cox2.display object with label information
library(survival)
fit <- coxph(Surv(time, status) ~ sex + ph.ecog + ph.karno + cluster(inst),
data = lung, model = TRUE
)
fit.table <- cox2.display(fit)
lung.label <- mk.lev(lung)
LabeljsCox(fit.table, ref = lung.label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.