Violin Plot

A violin plot is a combination of a box plot and a kernel density plot. This package allows extensive customisation of violin plots.


vioplot 0.3.0

Major changes

  • formula inputs

vioplot is not compatible with all inputs of boxplot or beanplot, including formula inputs (implemented as S3 methods.

  • plot customisation

Various features of violins can be tweaked with plotting parameters, such as colours and shapes of aspects of the violin. These can be applied to all violins with a single (scalar) input or applied separately to each violin with multiple (vector) inputs

  • defaults

This version is fully compatible with inputs to vioplot 0.2. The only difference in behaviour changing the default colour from a glaring magenta to a monochrome grey (more appropriate in a wider range of professional settings). Code written for previous versions should run without breaking or changes in behaviour apart from the default colour.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.4 by S. Thomas Kelly, 4 months ago

Report a bug at

Browse source code at

Authors: Daniel Adler [aut, cph] , S. Thomas Kelly [aut, cre] , Tom M. Elliott [ctb]

Documentation:   PDF Manual  

Task views: Graphic Displays & Dynamic Graphics & Graphic Devices & Visualization

BSD_3_clause + file LICENSE license

Depends on sm, zoo

Suggests ggplot2, RColorBrewer, knitr, rmarkdown, testthat

Imported by hydroPSO, regplot.

Depended on by parviol.

Suggested by DataVisualizations, beanplot, sand, vipor.

See at CRAN