coxExp: coxExp: transform the unit of coefficients in cox...

View source: R/coxme.R

coxExpR Documentation

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

Details

DETAILS

Value

The transforemed coefficients(95

Examples

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

jstable documentation built on Oct. 20, 2024, 5:07 p.m.