Description Usage Arguments Details Author(s) See Also Examples
This is a panel function that can create a violin plot. It is
typically used in a high-level call to bwplot
.
1 2 3 4 5 6 7 8 |
x, y |
numeric vector or factor. Violin plots are drawn for each unique
value of |
box.ratio |
ratio of the thickness of each violin and inter violin space |
box.width |
thickness of the violins in absolute units;
overrides |
horizontal |
logical. If FALSE, the plot is ‘transposed’ in the sense that
the behaviours of |
alpha, border, lty, lwd, col |
graphical parameters controlling the violin. Defaults are taken
from the |
varwidth |
logical. If |
bw, adjust, kernel, window, width, n, from, to, cut, na.rm |
arguments to |
... |
arguments passed on to |
identifier |
A character string that is prepended to the names of grobs that are created by this panel function. |
Creates Violin plot of x
for every level of y
. Note that
most arguments controlling the display can be supplied to the
high-level (typically bwplot
) call directly.
Deepayan Sarkar Deepayan.Sarkar@R-project.org
1 2 3 4 5 6 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.