coxph2cph {base.rms}R Documentation

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

Description

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()

Examples

library(survival)
fit <- coxph(Surv(mpg,vs)~am+gear+carb,data=mtcars)
coxph2cph(fit)

[Package base.rms version 1.0 Index]