Learn R Programming

broman (version 0.59-5)

plot_crayons: 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 par)
bg
Background color
fg
Foreground color (for text and box outlines)
border
If TRUE, plot a border around each rectangle

Value

  • None

References

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

See Also

brocolors

Examples

Run this code
plot_crayons()

Run the code above in your browser using DataLab