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

Document scale_ggsurvfit() default y-axis limits #233

Closed
DanChaltiel opened this issue Jan 5, 2025 · 1 comment · Fixed by #223
Closed

Document scale_ggsurvfit() default y-axis limits #233

DanChaltiel opened this issue Jan 5, 2025 · 1 comment · Fixed by #223

Comments

@DanChaltiel
Copy link
Contributor

Hi Daniel,

I understand from #112 that scale_ggsurvfit() adding limits = c(0, 1) depends on the type of curve.

Shouldn't this be documented in ?scale_ggsurvfit?

This could also be an additional argument (as writing scale_ggsurvfit(y_scales=list(limits=c(0,1))) is a bit long).

For instance, expanding the y-axis is useful when comparing cumulative incidence plots.

@ddsjoberg
Copy link
Collaborator

Ah, yes. The help file should state that the limits are applied only to survival curves. Thank you for reporting!

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

Successfully merging a pull request may close this issue.

2 participants