summary.cmprsk | R Documentation |
Uses the summary.rms
method to construct a summary for the competing risks regression model fit from crr.fit
.
## S3 method for class 'cmprsk'
summary(object, ...)
object |
A model fit by |
... |
Other arguments for |
A summary.rms
matrix
This function requires that the rms
package is attached
Changhong Yu. Department of Quantitative Health Sciences, Cleveland Clinic
crr.fit
summary.rms
dd <- datadist(prostate.dat)
options(datadist = "dd")
prostate.f <- cph(Surv(TIME_EVENT,EVENT_DOD == 1) ~ TX + rcs(PSA,3) +
BX_GLSN_CAT + CLIN_STG + rcs(AGE,3) +
RACE_AA, data = prostate.dat,
x = TRUE, y = TRUE, surv = TRUE,time.inc = 144)
prostate.crr <- crr.fit(prostate.f, cencode = 0, failcode = 1)
summary(prostate.crr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.