Skip to contents

A convenience entry point for draw_boxplot() with violin geometry. Smoothing, grouping, observation overlays, paired lines, comparisons, and vector export follow the same contract.

Usage

draw_violin(x, ..., show_box = FALSE)

Arguments

x

Numeric or List: Numeric vectors, one per box; named lists supply category labels. With group, every vector must match its length.

...

Arguments passed to draw_boxplot(), except geometry.

show_box

Logical: Overlay a narrow box on each violin.

Value

htmlwidget: Vector violin distributions.

Examples

draw_violin(iris["Sepal.Length"], group = iris[["Species"]], show_box = TRUE)