cph2coxph {base.rms} | R Documentation |
Convert results of cox regression from cph() in 'rms' package to coxph() in 'stats' package.
cph2coxph(fit)
fit |
cox regression results of cph() |
results of coxph()
library(rms)
fit <- cph(formula = Surv(mpg, vs) ~ am + gear + carb, data = mtcars)
cph2coxph(fit)