show.colors: Show R's Colors
Description
This function displays the built-in colors.
Usage
show.colors(type=c("singles", "shades", "gray"), order.cols=TRUE)
Arguments
type
type of display - single, multiple or gray shades
Value
A plot of colors for which there is a single shade (type = "single"),
multiple shades (type = "multiple"), or gray shades (type = "gray")
Examples
Run this code# NOT RUN {
require(MASS)
show.colors()
# }
Run the code above in your browser using DataLab