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

Make .buildggsurvplot an exported function #569

Open
NikNakk opened this issue Jan 6, 2022 · 1 comment
Open

Make .buildggsurvplot an exported function #569

NikNakk opened this issue Jan 6, 2022 · 1 comment

Comments

@NikNakk
Copy link

NikNakk commented Jan 6, 2022

survminer:::.buildggsurvplot is useful for obtaining a gtable from a ggsurvplot for use in ggsave or for downstream manipulation. At present, it's a non-exported function and so the interface could be changed without notice in future, and is presumably not recommended for use in external production code. It would be helpful to consider exporting it, presumably without the leading . in the name.

This would help with issues such as #544 and #152.

@gernophil
Copy link

How can I use this function as long, as it is not exported?
survminer:::.buildggsurvplot as well as getFromNamespace(".buildggsurvplot", "survminer") raise Error: object '.buildggsurvplot' not found.

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

2 participants