Creates a violin plot
Arguments
- toplot
Tibble with data to plot.
- x
Character, name of the column in
toplot
to use as x-axis.- y
Character, name of the column in
toplot
to use as y-axis.- colour
Character, name of the column in
toplot
to use as colour.- shape
Character, name of the column in
toplot
to use as shape.- point_alpha
Numeric between 0 and 1, the opacity of the points in the plot (with 1 = fully opaque, and 0 = fully transparent). Default value is
1
.- add_boxplot
Logical, should a boxplot be drawn on top of the points for violin plots? Default value is
TRUE
.