Description Usage Arguments Value Note Examples
Create violin plots with
1 2 3 4 5 6 | gwsca.vioplot(x, ..., range = 1.5, h = NULL, ylim = NULL,
names = NULL, horizontal = FALSE, col = "magenta",
border = "black", lty = 1, lwd = 1, rectCol = "black",
colMed = "white", pchMed = 19, at, add = FALSE, wex = 1,
drawRect = TRUE, plot.axes = TRUE, axis.box = FALSE,
plot.ann = TRUE, axis.bty = "l")
|
x |
the data to plot |
... |
legend parameters |
range |
The range for plotting |
h |
The height of the density estimator (in sm.density), if ommitted h will be set to an optimum |
ylim |
The y-axis limits |
names |
Names to plot (default is NULL) |
horizontal |
Whether the plot should be horizontal (defaults to FALSE) |
col |
Color for violin plots |
border |
Border color |
lty |
Line type |
lwd |
line width |
rectCol |
rectangle color |
colMed |
median point color |
pchMed |
median point size |
at |
The location for things |
add |
Whether the plot gets added to others (defaults to FALSE) |
wex |
Size of something |
drawRect |
Whether to add rectangles to violin plots (defaults to TRUE) |
plot.axes |
A logical value that determines whether or not to add axes (defaults to TRUE) |
axis.box |
A logical value that determines whether the axes should be a box (defaults to FALSE) |
plot.ann |
A logical value that determines whether the annotations should be plotted (defaults to TRUE) |
axis.bty |
The axis box type (default is L) |
Optionally returns the summary statistics of the data.
Modified from vioplot() in library(vioplot)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.