Learn R Programming

lfda (version 1.1.3)

Cols: 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