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

Description Usage Arguments Details Value Examples

View source: R/label.R

Description

Apply label information to metric object of jstable using label data

Usage

1
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

1
2
3
4
5
6
7
 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 Oct. 19, 2021, 5:07 p.m.