show.colors | R Documentation |
This function displays the built-in colors.
show.colors(type=c("singles", "shades", "gray"), order.cols=TRUE)
type |
type of display - single, multiple or gray shades |
order.cols |
Arrange colors in order |
A plot of colors for which there is a single shade (type = "single"), multiple shades (type = "multiple"), or gray shades (type = "gray")
J.H. Maindonald
require(MASS)
show.colors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.