plot_crayons {broman}R Documentation

Illustration of crayon colors

Description

Creates a plot of the crayon colors in brocolors()

Usage

plot_crayons(
  method2order = c("hsv", "cluster"),
  cex = 0.6,
  mar = rep(0.1, 4),
  bg = "white",
  fg = "black",
  border = FALSE
)

Arguments

method2order

method to order colors ("hsv" or "cluster")

cex

character expansion for the text

mar

margin paramaters; vector of length 4 (see graphics::par())

bg

Background color

fg

Foreground color (for text and box outlines)

border

If TRUE, plot a border around each rectangle

Value

None

References

https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors

See Also

brocolors()

Examples

plot_crayons()

[Package broman version 0.84 Index]