I'm looking at the documentation for ggplot2
, in particular this page, and am trying to parse the examples, in particular,
cars <- ggplot(mtcars, aes(y=factor(cyl), x=mpg))
cars + stat_bin(aes(fill=..count..), geom="tile", binwidth=3, position="identity")
I don't understand the notation, fill=..count..
. Can someone enlighten me?