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

How to build ggsurvfit? #189

Open
ddsjoberg opened this issue Feb 5, 2024 · 1 comment
Open

How to build ggsurvfit? #189

ddsjoberg opened this issue Feb 5, 2024 · 1 comment

Comments

@ddsjoberg
Copy link
Collaborator

at the moment we use ggsurvfit_build(), but we could perhaps use methods for ggplot_build() or ggplot_gtable() that would build, and the implication may be that the patchwork operators would then build the object for us.

@ddsjoberg
Copy link
Collaborator Author

ddsjoberg commented Feb 5, 2024

We could perhaps use the default ggplot_build() method, and implement a ggplot_gtable() method and in this method we would aligning the risktables and plots and stacking using patchwork.

We may need a ggplot_build() that would preserve the class, because gtable function is called after the build

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