tidy_cuminc {ggsurvfit} | R Documentation |
Tidy a cuminc object
Description
The tidycmprsk package exports a tidier for "cuminc"
objects.
This function adds on top of that and returns more information.
Usage
tidy_cuminc(x, times = NULL)
Arguments
x |
a 'cuminc' object created with |
times |
numeric vector of times. Default is |
Value
a tibble
Examples
library(tidycmprsk)
cuminc(Surv(ttdeath, death_cr) ~ trt, trial) %>%
tidy_cuminc()
[Package ggsurvfit version 1.1.0 Index]