mcolors: Color palette generation from matrix of RGB values

Description Usage Arguments Value

View source: R/plot.rosa.R

Description

Color palette generation from matrix of RGB values

Usage

1
2
mcolors(n, colmatrix = matrix(c(0, 0, 1, 1, 1, 1, 1, 0, 0), 3, 3, byrow =
  TRUE))

Arguments

n

Integer number of colors to produce.

colmatrix

A numeric matrix of three columns (R,G,B) to generate color palette from.

Value

A vector of n colors.


khliland/rosa documentation built on Dec. 29, 2021, 12:25 a.m.