Side density distributions
The xside and yside variants of geom_density is geom_xsidedensity and geom_ysidedensity.
geom_xsidedensity( mapping = NULL, data = NULL, stat = "density", position = "identity", ..., na.rm = FALSE, orientation = "x", show.legend = NA, inherit.aes = TRUE, outline.type = "upper" ) geom_ysidedensity( mapping = NULL, data = NULL, stat = "density", position = "identity", ..., na.rm = FALSE, orientation = "y", show.legend = NA, inherit.aes = TRUE, outline.type = "upper" )
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
Use to override the default connection between
|
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
Other arguments passed on to |
na.rm |
If |
orientation |
The orientation of the layer. The default ( |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
outline.type |
Type of the outline of the area; |
XLayer or YLayer object to be added to a ggplot object
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.