Description Usage Arguments Author(s) Examples
View source: R/ggbox_lbls.numeric.R
This function labels summary statistics on a ggplot boxplot. The summary statistics reported
are the minimum, maximum, Q1, Q3 and median. To use the function, you must specify a vector x
.
1 2 | ## S3 method for class 'numeric'
ggbox_lbls(obj, color = "lightblue", ...)
|
obj |
numeric object to be plotted |
color |
The color of the body of the boxplot. By default, the boxplot color is lightblue. |
... |
additional arguments passed to plotting functions |
Samantha Bothwell samantha.bothwell@cuanschutz.edu
1 2 3 4 | ggbox_lbls(rnorm(1000), color = "pink")
x <- c(1,6,3,9,7,5,9,16,4)
ggbox_lbls(x, color = "steelblue1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.