Learn R Programming

radarchart (version 0.3.1)

colourMatrix: Check and prep the colour matrix

Description

Check and prep the colour matrix

Usage

colourMatrix(colMatrix)

Arguments

colMatrix
A 3 x n matrix of integers between 0-255

Value

The checked and prepped matrix of the same size

Examples

Run this code
radarchart:::colourMatrix(diag(255, nrow=3))

Run the code above in your browser using DataLab