The given code:
ggplot(data = diamonds) +
geom_pointrange(
mapping = aes(x = cut, y = depth),
stat = "summary",
fun.min = min,
fun.max = max,
fun = median
)
produces:
Warning: Ignoring unknown parameters: fun.min, fun.max, fun
No summary function supplied, defaulting to `mean_se()
and does not produce the given graph.
