crr {tidycmprsk} | R Documentation |
Competing Risks Regression
Description
Competing Risks Regression
Usage
## S3 method for class 'formula'
crr(formula, data, failcode = NULL, conf.level = 0.95, ...)
crr(x, ...)
## Default S3 method:
crr(x, ...)
Arguments
formula |
formula with |
data |
data frame |
failcode |
Indicates event of interest. If |
conf.level |
confidence level. Default is 0.95. |
... |
passed to methods |
x |
input object |
Value
tidycrr object
See Also
Other crr() functions:
broom_methods_crr
,
predict.tidycrr()
Examples
crr(Surv(ttdeath, death_cr) ~ age + grade, trial)
[Package tidycmprsk version 1.0.0 Index]