Update stat_summary args for ggplot2 3.3.0 (#839)

This commit is contained in:
Charlotte Wickham
2020-10-03 07:41:36 -07:00
committed by GitHub
parent 089e060a06
commit 762b6af400

View File

@@ -537,9 +537,9 @@ This works because every geom has a default stat; and every stat has a default g
ggplot(data = diamonds) +
stat_summary(
mapping = aes(x = cut, y = depth),
fun.ymin = min,
fun.ymax = max,
fun.y = median
fun.min = min,
fun.max = max,
fun = median
)
```