carto_pal: CARTOcolor palettes

Description Usage Arguments Value Examples

View source: R/carto_pal.R

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
my_colors = carto_pal(7, "Burg")

rcartocolor documentation built on Feb. 9, 2018, 6:10 a.m.