Description Usage Arguments Examples
Add heatmap of 2d bin counts.
Count number of observation in rectangular bins.
1 2 3 |
mapping |
Set of aesthetic mapping created by aes or aes_. |
data |
The data to be displayed in this layer. |
stat |
Use override the default connection between geom_bin2d and stat_bin2d |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
If FALSE, remove missing values with a warning (not used in ggplot2.SparkR) |
show.legend |
logical. Should this layer be included in the legends? |
inherit.aes |
If FALSE, overrides the default aesthetics, rather ehan combining with them. |
... |
other arguments passed on to layer. |
1 2 3 4 5 6 7 8 | ## Not run:
ggplot(diamonds, aes(x, y)) + geom_bin2d()
df <- createDataFrame(sqlContext, diamonds)
ggplot(df, aes(x, y)) + geom_bin2d()
ggplot(df, aes(x, y)) + geom_bin2d(binwidth = c(0.5, 0.5))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.