hue.range.init: hue range initialization

Description Usage Arguments Details Value Author(s)

View source: R/clusterluts.R

Description

Initialize a hue range "seeded" by hues. It is attempted to allocate the range given by limits sparing a fraction of blank for the breaks. If symmetric is set, the hue ranges are centered around the seed values (except when at the limits) leaving more of the hue space unallocated.

Usage

1
hue.range.init(hues = 5/12, blank = 0.1, limits = NULL, symmetric = FALSE, ...)

Arguments

hues

initial "centers"

blank

fraction of full range (given by limits) not to assign

limits

define full range of available hues

symmetric

range symmetric around hues (where possible)

...

ignored

Details

The values in hues are trimmed to [0..1] and duplicates are removed.

Value

new hue range

Author(s)

Puetz


bennop/clusterLUTs documentation built on Nov. 21, 2020, 9:07 a.m.