| geom_bin2d {ggplot2} | R Documentation |
Add heatmap of 2d bin counts
geom_bin2d(mapping=NULL, data=NULL, stat="bin2d", position="identity", ...)
mapping |
mapping between variables and aesthetics generated by aes |
data |
dataset used in this layer, if not specified uses plot dataset |
stat |
statistic used by this layer |
position |
position adjustment used by this layer |
... |
ignored |
This page describes geom_bin2d, see layer and qplot for how to create a complete plot from individual components.
A layer
The following aesthetics can be used with geom_bin2d. Aesthetics are mapped to variables in the data with the aes function: geom\_bin2d(\code{aes}(x = var))
xmin: left (hortizontal minimum) (required)
xmax: right (hortizontal maximum) (required)
ymin: bottom (vertical minimum) (required)
ymax: top (vertical maximum) (required)
colour: border colour
fill: internal colour
size: size
linetype: line type
weight: observation weight used in statistical transformation
alpha: transparency
Hadley Wickham, http://had.co.nz/
## Not run: # See ?stat_bin2d ## End(Not run)