coxExp: transform the unit of coefficients in cox model(internal function)
Source:R/coxme.R
coxExp.Rd
Transform the unit of coefficients to "HR"
Examples
library(coxme)
fit <- coxme(Surv(time, status) ~ ph.ecog + age + (1 | inst), lung)
jstable:::coxExp(jstable:::coxmeTable(fit))
#> HR pv
#> ph.ecog "2 (1,2)" "7.17364842448553e-05"
#> age "1 (1,1)" "0.226949744823602"