LabeljsMetric | R Documentation |
Apply label information to metric object of jstable using label data
LabeljsMetric(obj.metric, ref)
obj.metric |
metric of lmer.display, coxme.display |
ref |
Label data made by mk.lev function |
DETAILS
metric of lmer.display, coxme.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)
LabeljsMetric(fit.table$metric, ref = lung.label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.