Description Usage Arguments Author(s) Source Examples
Violin plots are a compact display of continuous distributions but are usually mirrored to mimick boxplots. The "flat" version removes that mirrorness and makes the violin plots less...suggestive.
1 2 3 4 5 6 7 8 9 10 11 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
trim |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
Other arguments passed on to |
geom, stat |
Use to override the default connection between
|
Gist: dgrtwo/geom_flat_violin.R
1 2 3 4 5 6 | ## Not run:
ggplot(diamonds, aes(cut, carat)) +
geom_flat_violin() +
coord_flip()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.