powered by
Broom methods for tidycrr objects
# S3 method for tidycrr tidy(x, exponentiate = FALSE, conf.int = FALSE, conf.level = x$conf.level, ...)# S3 method for tidycrr glance(x, ...)# S3 method for tidycrr augment(x, times = NULL, probs = NULL, newdata = NULL, ...)
# S3 method for tidycrr glance(x, ...)
# S3 method for tidycrr augment(x, times = NULL, probs = NULL, newdata = NULL, ...)
a tibble
a tidycrr object
Logical indicating whether or not to exponentiate the coefficient estimates. Defaults to FALSE.
FALSE
Logical indicating whether or not to include a confidence interval in the tidied output. Defaults to FALSE.
Level of the confidence interval. Default matches that in crr(conf.level=) (typically, 0.95)
crr(conf.level=)
not used
Numeric vector of times to obtain risk estimates at
Numeric vector of quantiles to obtain estimates at
A base::data.frame() or tibble::tibble() containing all the original predictors used to create x. Defaults to NULL.
base::data.frame()
tibble::tibble()
NULL
Other crr() functions: crr(), predict.tidycrr()
crr()
predict.tidycrr()
crr <- crr(Surv(ttdeath, death_cr) ~ age + grade, trial) tidy(crr) glance(crr) augment(crr, times = 12)
Run the code above in your browser using DataLab