map_palette: The map palette function

Description Usage Arguments Value Examples

View source: R/mappalettes_function.R

Description

This function allows you to easily access beautiful palettes designed for maps.

Usage

1
map_palette(name, n = 5)

Arguments

name

The name of the palette as one of "green_machine", "irish_flag", "tealberry_pie", "sunset", "the_joker" or "bruiser"

n

The number of colors in the palette. Defaults to 5.

Value

The hex codes of the n colors in the palette

Examples

1
map_palette("green_machine")

disarm-platform/MapPalettes documentation built on Jan. 11, 2020, 5:51 p.m.