Update stat_summary args for ggplot2 3.3.0 (#839)
This commit is contained in:
parent
089e060a06
commit
762b6af400
|
@ -537,9 +537,9 @@ This works because every geom has a default stat; and every stat has a default g
|
||||||
ggplot(data = diamonds) +
|
ggplot(data = diamonds) +
|
||||||
stat_summary(
|
stat_summary(
|
||||||
mapping = aes(x = cut, y = depth),
|
mapping = aes(x = cut, y = depth),
|
||||||
fun.ymin = min,
|
fun.min = min,
|
||||||
fun.ymax = max,
|
fun.max = max,
|
||||||
fun.y = median
|
fun = median
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue