stat_summary operates on unique x; stat_summary_bin
operators on binned x. They are more flexible versions of
stat_bin: instead of just counting, the can compute any
aggregate.stat_summary_bin(mapping = NULL, data = NULL, geom = "pointrange",
  fun.data = NULL, fun.y = NULL, fun.ymax = NULL, fun.ymin = NULL,
  fun.args = list(), na.rm = FALSE, position = "identity",
  show.legend = NA, inherit.aes = TRUE, ...)stat_summary(mapping = NULL, data = NULL, geom = "pointrange",
  fun.data = NULL, fun.y = NULL, fun.ymax = NULL, fun.ymin = NULL,
  fun.args = list(), na.rm = FALSE, position = "identity",
  show.legend = NA, inherit.aes = TRUE, ...)
geom_histogram/geom_freqpoly and stat_bin.ymin, y, and ymax.FALSE (the default), removes missing values with
a warning.  If TRUE silently removes missing values.NA, the default, includes if any aesthetics are mapped.
FALSE never includes, and TRUE always includes.FALSE, overrides the default aesthetics,
rather than combining with them. This is most useful for helper functions
that define both data and aesthetics and shouldn't inherit behaviour from
the default plot specification, e.g. layer. There are
  three types of arguments you can use here:
color = "red"orsize = 3.