tests/testthat/_snaps/survfit2_p.md

survfit2_p() throws error

Code
  survfit2(Surv(ttdeath, death_cr) ~ trt, tidycmprsk::trial) %>% ggcuminc() +
    add_pvalue()
Message
  Plotting outcome "death from cancer".
Condition
  Error in `survfit2_p()`:
  ! The `survfit2_p()` does not support multi-state models.


Try the ggsurvfit package in your browser

Any scripts or data that you put into this service are public.

ggsurvfit documentation built on Sept. 13, 2025, 9:07 a.m.