clinColors: Colors of 'clinUtils'

clinColorsR Documentation

Colors of 'clinUtils'

Description

Default color palette is the color-blind viridis palette. See documentation of viridis.

Usage

clinColors(n, alpha = 1, begin = 0, end = 1, direction = 1, option = "D")

Arguments

n

The number of colors (\ge 1) to be in the palette.

alpha

The alpha transparency, a number in [0,1], see argument alpha in hsv.

begin

The (corrected) hue in [0,1] at which the color map begins.

end

The (corrected) hue in [0,1] at which the color map ends.

direction

Sets the order of colors in the scale. If 1, the default, colors are ordered from darkest to lightest. If -1, the order of colors is reversed.

option

see similar parameter in viridis

Value

The viridis function.


clinUtils documentation built on May 29, 2024, 5:01 a.m.