get_HCL_colors | R Documentation |
Derive colors from the HCL color space based on triples of values. The H and C are
get_HCL_colors(m, H1 = 0, L.lim = c(80, 20), L.delta = 0.65,
L.w = 10, zf = 0, C.max = 100, transparent = FALSE,
H.method = c("cat", "div", "seq"), H.div = c(240, 20),
L.method = c("v1", "v2"), C.method = c("triangle", "entropy"),
palette = NA, output = c("colors", "hcl", "rgb"))
m |
matrix of counts, rows are the cases, columns are the groups. Number of columns should be at most three. |
H1 |
hue value of first subpopulation |
L.lim |
limits of the luminance, corresponds to pop.lim |
L.delta |
L.delta |
L.w |
L.w |
zf |
zf |
C.max |
maximum chroma |
transparent |
should the background be transparent? If |
H.method |
H.method |
H.div |
H.div |
L.method |
L.method |
C.method |
C.method |
palette |
palette |
output |
a subset of: |
a vector
if output == "colors"
, matrix
if output == "hcl"
or output == "rgb"
, and a data.frame
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.