rcolors | R Documentation |
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.
No return value, called for side effects
This function is adapted from code published by Karl W. Broman.
colors
rcolors() rcolors("blue") rcolors("red") rcolors("dark")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.