Learn R Programming

jstable (version 1.3.8)

coxExp: coxExp: transform the unit of coefficients in cox model(internal function)

Description

Transform the unit of coefficients to "HR"

Usage

coxExp(cox.coef, dec)

Value

The transforemed coefficients(95

Arguments

cox.coef

cox model coefficients

dec

Decimal point

Details

DETAILS

Examples

Run this code
library(coxme)
fit <- coxme(Surv(time, status) ~ ph.ecog + age + (1 | inst), lung)
jstable:::coxExp(jstable:::coxmeTable(fit))

Run the code above in your browser using DataLab