wpal: Map Colors Palettes

Description Usage Arguments Value Examples

Description

A suite of color ramps designed for beautiful chloropleth maps and other data visualizations, especially where value differentiation over a wide range is desired.

Usage

1
wpal(color = NULL, n = NULL, noblack = FALSE)

Arguments

color

Name of the color ramp. Default is NULL, which will return the whole list, so you should probably enter in a color name! Use the funciton view_pal() to see your options.

n

How many colors are returned from the ramp. Default is NULL, which will provide the number of colors generated when the ramp is created.

noblack

Logical; Defines whether the color black is to be excluded from your color ramp. Default value is FALSE.

Value

A list of color values.

Examples

1
MapColors("cool_toned")

RebeccaStubbs/MapSuite documentation built on May 9, 2019, 9:37 a.m.