Convert results of cox regression from cph() in 'rms' package to coxph() in 'stats' package.
cph2coxph(fit)
cox regression results of cph()
results of coxph()
# NOT RUN { library(rms) fit <- cph(formula = Surv(mpg, vs) ~ am + gear + carb, data = mtcars) cph2coxph(fit) # }
Run the code above in your browser using DataLab