Closed teunbrand closed 3 years ago
This should now work:
library(ggh4x)
#> Loading required package: ggplot2
df <- data.frame(
x = c("A","B"),
min = 1:2,
max = 2:1
)
ggplot(df, aes(x, group = 1)) +
stat_difference(aes(ymin = min, ymax = max))
Created on 2021-04-10 by the reprex package (v1.0.0)
The following works fine:
This doesn't.
Created on 2021-03-26 by the reprex package (v1.0.0)