snapalettes: SNAP color palettes

Description Usage Arguments Details Value Examples

Description

Common SNAP color palettes.

Usage

1

Arguments

palette

character or integer, name or index of color palette.

n

number of colors returned from palette. See details.

Details

Obtain commonly used SNAP color palettes for styling plots. Palettes can be specified by name or index. By default, all colors are returned (n = NULL). If n is less than the number of colors in palette, the first n colors are returned.

Value

a vector of hex colors.

Examples

1

leonawicz/snapplot documentation built on May 17, 2019, 1:33 p.m.