scatter_box | R Documentation |
Generates a boxplot with a regimented scatter plot
scatter_box(x, ...)
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. |
Returns, invisibly, the same output list as boxplot with an additional item named jitter
which is the output from regimented_scatter
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.