mcolors {multiblock} | R Documentation |
Colour palette generation from matrix of RGB values
Description
Colour palette generation from matrix of RGB values
Usage
mcolors(
n,
colmatrix = matrix(c(0, 0, 1, 1, 1, 1, 1, 0, 0), 3, 3, byrow = TRUE)
)
Arguments
n |
Integer number of colorus to produce. |
colmatrix |
A numeric |
Value
A vector of n colours in hexadecimal RGB format.
Examples
mcolors(5)
[Package multiblock version 0.8.8.1 Index]