box_lbls: Summary Labels for Boxplots

Description Usage Arguments Author(s) Examples

View source: R/box_lbls.R

Description

This function labels summary statistics on an R boxplot. The summary statistics reported are the minimum, maximum, Q1, Q3 and median. To use the function, you must specify a vector x.

Usage

1
box_lbls(x, color = NULL)

Arguments

x

A numeric vector for specifying data from which the boxplots are to be produced

color

The color of the body of the boxplot. By default, the boxplot color is the same as the background color.

Author(s)

Samantha Bothwell samantha.bothwell@cuanschutz.edu

Examples

1
2
3
4
box_lbls(rnorm(1000), color = "pink")

x <- c(1,6,3,9,7,5,9,16,4)
box_lbls(x, color = "lightblue")

sjbothwell/Test_Package documentation built on Sept. 4, 2020, 6:37 p.m.