carto_pal: CARTOcolor palettes

Description Usage Arguments Value Examples

Description

Creates a color palette from CARTOcolor

Usage

1

Arguments

n

Number of different colors in the palette, minimum depending on palette (2 or 3), maximum depending on palette (7 or 11)

name

A palette name

Value

A character vector

Examples

1
2
my_colors = carto_pal(7, "Burg")
my_colors

rcartocolor documentation built on May 6, 2019, 1:02 a.m.