# S3 method for formula
crr(formula, data, failcode = NULL, conf.level = 0.95, ...)
crr(x, ...)
# S3 method for default
crr(x, ...)
Value
tidycrr object
Arguments
formula
formula with Surv() on LHS and covariates on RHS.
The event status variable must be a factor, with the first level indicating
'censor' and subsequent levels the competing risks. The Surv(time2=)
argument cannot be used.
data
data frame
failcode
Indicates event of interest. If failcode= is NULL,
the first competing event will be used as the event of interest.
Default is NULL.
conf.level
confidence level. Default is 0.95.
...
passed to methods
x
input object
See Also
Other crr() functions:
broom_methods_crr,
predict.tidycrr()