50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

jstable (version 0.9.2)

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

Description

Apply label information to cox2.display object using label data

Usage

LabeljsCox(obj, ref)

Arguments

obj

cox2.display object

ref

Label data made by mk.lev function

Value

cox2.display object with label information

Details

DETAILS

Examples

Run this code
# NOT RUN {
 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)
# }

Run the code above in your browser using DataLab