violin.stats: Violin Plot Statistics

vioplot.statsR Documentation

Violin Plot Statistics

Description

This function is typically called by another function to gather the statistics necessary for producing box plots, but may be invoked separately. See: boxplot.stats

Usage

## S3 method for class 'stats'
vioplot(x, coef = 1.5, do.conf = TRUE, do.out = TRUE, ...)

Arguments

x

a numeric vector for which the violin plot will be constructed NAs and NaNs are allowed and omitted).

coef

this determines how far the plot ‘whiskers’ extend out from the box. If coef is positive, the whiskers extend to the most extreme data point which is no more than coef times the length of the box away from the box. A value of zero causes the whiskers to extend to the data extremes (and no outliers be returned).

do.conf, do.out

logicals; if FALSE, the conf or out component respectively will be empty in the result.

...

arguments passed to vioplot.


vioplot documentation built on Sept. 11, 2024, 5:36 p.m.