cph2coxph {base.rms} | R Documentation |
Convert results of cox regression from cph() to coxph()
Description
Convert results of cox regression from cph() in 'rms' package to coxph() in 'stats' package.
Usage
cph2coxph(fit)
Arguments
fit |
cox regression results of cph() |
Value
results of coxph()
Examples
library(rms)
fit <- cph(formula = Surv(mpg, vs) ~ am + gear + carb, data = mtcars)
cph2coxph(fit)
[Package base.rms version 1.0 Index]