LabeljsRanef | R Documentation |
Apply label information to ranef object of jstable using label data
LabeljsRanef(obj.ranef, ref)
obj.ranef |
ranef of lmer.display, coxme.display, cox2.display |
ref |
Label data made by mk.lev function |
DETAILS
ranef of lmer.display, coxme.display, cox2.display with label information
library(coxme)
fit <- coxme(Surv(time, status) ~ sex + ph.ecog + ph.karno + (1 | inst) + (1 | sex), lung)
fit.table <- coxme.display(fit)
lung.label <- mk.lev(lung)
LabeljsTable(fit.table$table, ref = lung.label)
LabeljsRanef(fit.table$ranef, ref = lung.label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.