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

View source: R/label.R

LabeljsCoxR Documentation

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

Details

DETAILS

Value

cox2.display object with label information

Examples

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)

jinseob2kim/jstable documentation built on April 18, 2024, 4:33 a.m.