LabeljsMetric: LabeljsMetric: Apply label information to jstable metric...

View source: R/label.R

LabeljsMetricR Documentation

LabeljsMetric: Apply label information to jstable metric object using label data

Description

Apply label information to metric object of jstable using label data

Usage

LabeljsMetric(obj.metric, ref)

Arguments

obj.metric

metric of lmer.display, coxme.display

ref

Label data made by mk.lev function

Details

DETAILS

Value

metric of lmer.display, coxme.display with label information

Examples

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)

jstable documentation built on May 29, 2024, 8:52 a.m.