base_methods_crr {tidycmprsk} | R Documentation |
Functions for tidycrr objects
Description
Functions for tidycrr objects
Usage
## S3 method for class 'tidycrr'
coef(object, ...)
## S3 method for class 'tidycrr'
vcov(object, ...)
## S3 method for class 'tidycrr'
model.matrix(object, ...)
## S3 method for class 'tidycrr'
model.frame(formula, ...)
## S3 method for class 'tidycrr'
terms(x, ...)
Arguments
... |
not used |
formula |
a formula |
x , object |
a tidycrr object |
Value
coef vector, model matrix, model frame, terms object
Examples
mod <- crr(Surv(ttdeath, death_cr) ~ age + grade, trial)
coef(mod)
model.matrix(mod) %>% head()
model.frame(mod) %>% head()
terms(mod)
[Package tidycmprsk version 1.0.0 Index]