helper_palette {whomds} | R Documentation |
Color palette for the MDS
Description
Color palette for the MDS
Usage
helper_palette(
n,
h = c(-100, 100),
c. = c(60, 100),
l = c(15, 95),
power = c(2, 0.9),
fixup = TRUE,
gamma = NULL,
alpha = 1,
...
)
Arguments
n |
the number of colors ( |
h |
hue value in the HCL or HSV color description, has to be in [0, 360] for HCL and in [0, 1] for HSV colors. |
c. |
chroma value in the HCL color description. |
l |
luminance value in the HCL color description. |
power |
control parameter determining how chroma and luminance should be increased (1 = linear, 2 = quadratic, etc.). |
fixup |
logical. Should the color be corrected to a valid RGB value before correction? |
gamma |
Deprecated. |
alpha |
numeric vector of values in the range |
... |
Other arguments passed to |
Details
Generated with colorspace::choose_palette()
Value
n
hex codes from the color palette
See Also
Other helper functions:
helper_checkrow()
,
helper_varslist()