Violin Mapping
class ViolinMapping(var x: Any? = null, var y: Any? = null, var violinWidth: Any? = null, var alpha: Any? = null, var color: Any? = null, var fill: Any? = null, var linetype: Any? = null, var size: Any? = null, var width: Any? = null, var group: Any? = null, var paint_a: Any? = null, var paint_b: Any? = null, var paint_c: Any? = null) : ViolinAesthetics, WithGroupOption, PaintAesthetics
Aesthetic mappings supported by geomViolin().
Parameters
x
X-axis coordinates.
y
Y-axis coordinates.
violin Width
Density scaled for the violin plot, according to area, counts or to a constant maximum width.
alpha
Transparency level of a layer. Understands numbers between 0 and 1.
color
Color of the geometry.
fill
Fill color.
linetype
Type of the line of border.
size
Lines width.
width
Width of violin bounding box.
group
Grouping key. If not set, grouping may be inferred from other aesthetics (e.g., color, size).
paint_a
Auxiliary paint channel A that can be used as either color
or fill
as needed. Map a variable here for composite/multi-channel color with a matching scale.
paint_b
Auxiliary paint channel B. See paint_a
.
paint_c
Auxiliary paint channel C. See paint_a
.