coxph2cph

0th

Percentile

Convert results of cox regression from coxph() to cph()

Convert results of cox regression from coxph() in 'survival' package to cph() in 'rms' package.

Usage
coxph2cph(fit)
Arguments
fit

cox regression results of coxph()

Value

results of coxph()

Aliases
  • coxph2cph
Examples
# NOT RUN {
library(survival)
fit <- coxph(Surv(mpg,vs)~am+gear+carb,data=mtcars)
coxph2cph(fit)
# }
Documentation reproduced from package base.rms, version 1.0, License: GPL-3

Community examples

Looks like there are no examples yet.