Learn R Programming

jstable (version 0.9.2)

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)

Arguments

cox.coef

cox model coefficients

dec

Decimal point

Value

The transforemed coefficients(95

Details

DETAILS

Examples

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