Learn R Programming

violinmplot (version 0.2.1)

panel.violinm: Lattice panel function to combine violin plots with arithmetic mean and standard deviation.

Description

This function combines violin plots with the corresponding arithmetic mean and standard deviation values in a lattice panel function. The panel function can be used with latice functions like bwplot.

Usage

panel.violinm(x, y, horizontal = TRUE, grid = TRUE, 
	mean.col = "blue", violin.col = "transparent", ...)

Arguments

x
y
horizontal
Whether to display plots horizontally or vertically.
grid
Whether to display grid lines cutting the violins.
mean.col
color for the arithmetic mean.
violin.col
violin fill color
...
additional parameters to pass along called functions.

Value

    See Also

    violinmplot, panel.meansdplot