colors {grDevices} R Documentation

get color set

Description

Usage

colors(term,
    n = 256,
    character = FALSE);

Arguments

term

the color set name, if the parameter value is an image data, then this function will try to extract the theme colors from it.

n

number of colors from the given color set(apply cubic spline for the color sequence), negative value or ZERO means no cubic spline on the color sequence. [as integer]

character

function returns a color object sequence or html color code string vector if this parameter value is set to TRUE. [as boolean]

env

[as Environment]

Details

Authors

graphics

Value

this function returns data object of type any kind.

clr value class

Examples


[Package grDevices version 1.0.0.0 Index]