Learn R Programming

jstable (version 1.3.8)

LabeljsMetric: 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)

Value

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

Arguments

obj.metric

metric of lmer.display, coxme.display

ref

Label data made by mk.lev function

Details

DETAILS

Examples

Run this code
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)

Run the code above in your browser using DataLab