vioplot2: Violin Plot

View source: R/vioplot2.R

vioplot2R Documentation

Violin Plot

Description

Draw violin plot, a wavy boxplot made of symmetric density plots.

Usage

vioplot2(x, ..., orientation = "vertical", bw = "nrd0", names = NULL,
  pars = NULL)

Arguments

x

a vector or data frame.

...

passed to polygon.

orientation

[not supported].

bw

bandwidth algorithm, passed to density.

names

a vector of x-axis tick labels.

pars

[not supported].

Value

Invisible vector of midpoints, useful for adding to the plot.

Note

Ignores many standard graphical arguments, so axis labels should be added afterwards.

Author(s)

John Verzani, with minor changes by Arni Magnusson.

See Also

vioplot package that doesn't support lists.


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.