LabeljsCox: LabeljsCox: Apply label information to cox2.display object...

Description Usage Arguments Details Value Examples

View source: R/label.R

Description

Apply label information to cox2.display object using label data

Usage

1
LabeljsCox(obj, ref)

Arguments

obj

cox2.display object

ref

Label data made by mk.lev function

Details

DETAILS

Value

cox2.display object with label information

Examples

1
2
3
4
5
6
 library(survival)
 fit <- coxph(Surv(time, status) ~ sex + ph.ecog + ph.karno + cluster(inst), 
               data = lung, model = TRUE)
 fit.table <- cox2.display(fit)
 lung.label <- mk.lev(lung)
 LabeljsCox(fit.table, ref = lung.label)

jstable documentation built on Oct. 19, 2021, 5:07 p.m.