Common SNAP color palettes.
character or integer, name or index of color palette.
number of colors returned from
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).
n is less than the number of colors in
palette, the first
n colors are returned.
a vector of hex colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.