Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggflexsurvplot risk table strata #650

Open
antoine4ucsd opened this issue Mar 26, 2024 · 0 comments
Open

ggflexsurvplot risk table strata #650

antoine4ucsd opened this issue Mar 26, 2024 · 0 comments

Comments

@antoine4ucsd
Copy link

Hello
I am exploring results from survit and parametric models and flexsurvreg
when trying to plot flexsurvreg with ggflexsurvplot, the risk table only show the data for all but NOT for each strata... (as opposed to survfit models

fit <-flexsurvreg(Surv(gauche_corrige, droit_corrige, type="interval2") ~ molecule, dist="weibull", data=data_test)
ggflexsurvplot(fit, 
        data = data_test, 
        risk.table = TRUE,
         conf.int.km = T,
        conf.int.flex = T)

Screen Shot 2024-03-26 at 1 29 29 PM

can we add the risk table by strata?
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant