expand_color_pal

0th

Percentile

Interpolates between entries in the input palette to make a larger palette with at least MIN_COLOR_RES entries.

Interpolates between entries in the input palette to make a larger palette with at least MIN_COLOR_RES entries.

Usage
expand_color_pal(pal, MIN_COLOR_RES = 255)
Arguments
pal

The color palette to expand, as a data.frame with two columns: "color" (character: color hex codes) and "value" (numeric).

MIN_COLOR_RES

The minimum number of entries to have in the output palette. Because of rounding, there may be more than this number of entries.

Value

A data.frame with two columns: "color" (character: color hex codes) and "value" (numeric)

Aliases
  • expand_color_pal
Documentation reproduced from package ciftiTools, version 0.1.6.0, License: GPL-3

Community examples

Looks like there are no examples yet.