Description Usage Arguments Examples
View source: R/geom_flat_violin.R
Create flat violin plot with ggplot2 with geom_flat_violin. Shamelessly copy-pasted from Ben Marwick.
1 2 3 4 5 6 7 8 9 10 11 |
mapping |
A value |
data |
A value |
stat |
A value |
position |
A value |
trim |
A value |
scale |
A value |
show.legend |
A value |
inherit.aes |
A value |
... |
A value |
1 2 3 | ggplot2::ggplot(ggplot2::diamonds, ggplot2::aes(cut, carat)) +
ggplot2::coord_flip() +
geom_flat_violin()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.