ggplot_box_legend: Legend for a box plot

View source: R/gg_boxplot_legend.R

ggplot_box_legendR Documentation

Legend for a box plot

Description

A figure legend that explains the components and symbols for a box plot.

Usage

ggplot_box_legend(title = "Boxplot legend", family = "")

Arguments

title

The text for the title

family

Font family; may need to load 'extrafont' package first

Value

A ggplot object

References

https://owi.usgs.gov/blog/boxplots/

Examples

library(ggplot2)
ggplot_box_legend()


emilelatour/laviz documentation built on Oct. 15, 2023, 1:41 p.m.