Last data update: 2014.03.03

R: Assigning Colors to A Vector
ColsR Documentation

Assigning Colors to A Vector

Description

This function assigns a color to each distinct value in the given vector.

Usage

Cols(vec)

Arguments

vec

The vector where each distinct value will be assigned a color.

Value

The colors for each element in the given vector

Results