Description Usage Arguments Value See Also Examples
Combination of boxplot and 1d kernel density estimate along y axis, for vase plot.
1 2 3 |
mapping |
Set of aesthetic mappings created by |
data |
A data frame. If specified, overrides the default data frame defined at the top level of the plot. |
geom |
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. |
adjust |
see |
kernel |
kernel used for density estimation, see
|
scale |
if "area" (default), all vases have the same area (before trimming the tails). If "count", areas are scaled proportionally to the number of observations. If "width", all vases have the same maximum width. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
other arguments passed on to
|
na.rm |
If |
A data frame with additional columns:
density |
density estimate |
scaled |
density estimate, scaled to maximum of 1 |
count |
density * number of points - not sure about usefulness for vase plots |
vasewidth |
density scaled for the vase plot, according to area, counts or to a constant maximum width |
n |
number of points |
width |
width of vase bounding box |
geom_vase
for examples, and geom_violin
for examples with data along the x axis.
1 2 | # See geom_vase for examples
# Also see stat_density for similar examples with data along x axis
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.