1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-11 05:02:06 +02:00

(v2.1.1.9116) selectors as separate functions

This commit is contained in:
2024-12-13 09:44:54 +01:00
parent e231352617
commit 175a6777f3
16 changed files with 113 additions and 67 deletions

View File

@ -49,7 +49,10 @@ geom_sir(
facet_sir(facet = c("interpretation", "antibiotic"), nrow = NULL)
scale_y_percent(breaks = seq(0, 1, 0.1), limits = NULL)
scale_y_percent(
breaks = function(x) seq(0, max(x, na.rm = TRUE), 0.1),
limits = NULL
)
scale_sir_colours(..., aesthetics = "fill")