getDiscretePaletteFactory: Generate discrete palette maker

Description Usage Arguments Value See Also Examples

Description

Generate discrete palette maker

Usage

1
getDiscretePaletteFactory(paletteName = "Set1")

Arguments

paletteName

name of palette from brewer.pal.info in RColorBrewer package

Value

function (factory) that creates discrete palette with for number of colors

See Also

getGradientPaletteFactory, colorRampPalette

Examples

1
2
paletteMaker = getDiscretePaletteFactory("PuOr")
myPalette = paletteMaker(25)

teradata-aster-field/toaster documentation built on May 31, 2019, 8:36 a.m.