scale_nycc: Make a color palette with NYCC colors for scale_*_nycc

View source: R/colors.R

scale_nyccR Documentation

Make a color palette with NYCC colors for scale_*_nycc

Description

Make a color palette with NYCC colors for scale_*_nycc

Usage

scale_nycc(palette = "mixed", reverse = FALSE, ...)

Arguments

palette

One of "bw","main", "mixed", "nycc_blue", "cool", "warm", "diverging", "indigo", "blue", "violet", "bronze", "orange", "forest", "single", "double". When palette is set to "single" or "double", it returns the first color and first and second color from the "main" palette respectively.

reverse

Boolean, reverse the order of the selected palette

...

Further arguments passed to colorRampPalette

Value

A function made by colorRampPalette


NewYorkCityCouncil/councildown documentation built on Oct. 24, 2024, 8:39 p.m.