Learn R Programming

VBmix (version 0.3.2)

getColor:

Description

associates a R color name (i.e. in the ouput of colors()) to each possible integer input index. Colors are chosen in a reduced, well differentiated, subset.

Usage

getColor(index)

Arguments

index
integer input index.

Value

color name.

Examples

Run this code
getColor(3)

Run the code above in your browser using DataLab