Description Usage Arguments Source Examples
View source: R/geom_flat_violin.R
Half violin plot
1 2 3 4 5 6 7 8 9 10 11 |
mapping |
The mapping |
data |
data.frame |
stat |
statistic (don't change) |
position |
position dodge |
trim |
Logical |
scale |
Scale (don't change) |
show.legend |
Logical |
inherit.aes |
Logical |
... |
other arguments |
urlhttps://gist.github.com/dgrtwo/eb7750e74997891d7c20
1 2 3 | library(ggplot2)
data(diamonds)
ggplot(diamonds, aes(cut, carat)) + geom_flat_violin() + coord_flip()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.