disco: Disco (DISplays COlorpalettes)

View source: R/LSD.color.R

discoR Documentation

Disco (DISplays COlorpalettes)

Description

Displays pre-designed colorpalettes as well as custom-made ones (see colorpalette).

Usage

disco(colpal = NULL, nrcol = NULL, alpha = NULL)

Arguments

colpal

a character vector containing R built-in color names or a name of a LSD colorpalette as a character string (displays all colorpalettes, if not specified).

nrcol

a non-negative integer specifying the number of colors to be used (defaults to length of colpal, if not specified).

alpha

alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default).

Author(s)

Bjoern Schwalb

See Also

colorpalette, demotour

Examples

disco()
disco("rdbu",10)

stineb/rbeni documentation built on Feb. 24, 2023, 5:40 a.m.