You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have the number at risk and number censored in the same risk table when using ggsurvplot_combine as one can get fro ggsurvplot. When looking RDocumentation it is written that it should work but it does not for me.
When running the code it will just produce the risk table with number at risk and not number of censored in parentheses as done when using ggsurvplot for one fit.
session_info()
# please paste here the result of
![Rplot](https://github.com/kassambara/survminer/assets/120676856/b581339c-d5ce-4064-9622-eda9737379e3)
devtools::session_info()
What to do? Thanks!
//Martin
The text was updated successfully, but these errors were encountered:
Expected behavior
I want to have the number at risk and number censored in the same risk table when using ggsurvplot_combine as one can get fro ggsurvplot. When looking RDocumentation it is written that it should work but it does not for me.
Actual behavior
My code
fits = list(All_cause = fit0, Cancer = fit1, Cardio = fit2)
ggsurvplot_combine(fits, risk.table = "nrisk_cumcensor", risk.table.y.text = FALSE, ggtheme = theme_minimal(),
censor=FALSE, legend.labs = c("All-cause", "Cancer", "Cardio"), break.time.by = 20)
Steps to reproduce the problem
When running the code it will just produce the risk table with number at risk and not number of censored in parentheses as done when using ggsurvplot for one fit.
session_info()
What to do? Thanks!
//Martin
The text was updated successfully, but these errors were encountered: