scatter_box: Scatter box

View source: R/scatter_box.R

scatter_boxR Documentation

Scatter box

Description

Generates a boxplot with a regimented scatter plot

Usage

scatter_box(x, ...)

Arguments

x

A formula which will be sent to boxplot

...

Parameters which will be sent to boxplot

diameter

A scalar which controls the size of the circles in the scatter plot

bg

The fill color of the circles.

Details

Returns, invisibly, the same output list as boxplot with an additional item named jitter which is the output from regimented_scatter.

Examples

x <- rnorm(123)
grp <- rnorm(123) > 0
scatter_box(x~grp)
scatter_box(x~grp, diameter = 1.5)
scatter_box(x~grp, at = c(5,7), diameter = 1.5)

thomasgstewart/tgsify documentation built on Oct. 26, 2024, 8:15 p.m.