The most common figure created with this package is a survival curve. This scale applies modifications often seen in these figures.
scale_y_continuous(expand = c(0.025, 0), limits = c(0, 1), label = scales::label_percent()).
scale_x_continuous(expand = c(0.015, 0), n.breaks = 8)
If you use this function, you must include all scale specifications
that would appear in
For example, it's common you'll need to specify the x-axis break points.
To reset any of the above settings to their ggplot2 default, set the value
y_scales = list(limits = NULL).
Visit the gallery for examples modifying the default figures