tidy_cuminc | R Documentation |
The tidycmprsk package exports a tidier for "cuminc"
objects.
This function adds on top of that and returns more information.
tidy_cuminc(x, times = NULL)
x |
a 'cuminc' object created with |
times |
numeric vector of times. Default is |
a tibble
library(tidycmprsk)
cuminc(Surv(ttdeath, death_cr) ~ trt, trial) %>%
tidy_cuminc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.