Geom.violin
Draw violin plots.
Aesthetics
Aesthetics used directly:
x
: Group categorically on the X-axisy
: Y-axis position.width
: Density at a giveny
value.
With the default statistic Stat.violin, only the following need be defined:
x
(optional): Group categorically on the X-axis.y
: Sample from which to draw the density plot.
Examples
plot(dataset("lattice", "singer"), x="VoicePart", y="Height", Geom.violin)