Plot a grid of R colors and their associated names
rcolors(color = NULL, cex = 0.6)
| color | character. A text string used to search for specific color variations (see examples.) |
|---|---|
| cex | numeric. text size for color labels. |
By default rcolors plots the basic 502 distinct colors provided by the
colors function. If a color name or part of a name is provided, only
colors with matching names are plotted.
This function is adapted from code published by Karl W. Broman.
rcolors()rcolors("blue")rcolors("red")rcolors("dark")