base_methods_cuminc {tidycmprsk} | R Documentation |
Functions for tidycuminc objects
Description
Functions for tidycuminc objects
Usage
## S3 method for class 'tidycuminc'
model.frame(formula, ...)
## S3 method for class 'tidycuminc'
model.matrix(object, ...)
Arguments
formula |
a formula |
... |
not used |
object |
a tidycuminc object |
Value
a model frame, or model matrix
Examples
fit <- cuminc(Surv(ttdeath, death_cr) ~ trt, trial)
model.matrix(fit) %>% head()
model.frame(fit) %>% head()
[Package tidycmprsk version 1.0.0 Index]