palgen: Generate some additional color palettes

View source: R/palgen.R

palgenR Documentation

Generate some additional color palettes

Description

Generate some additional color palettes

Usage

palgen(pal, n = 150, space = "Lab")

Arguments

pal

a string for adhoc pals

n

the number of colors for interpolation

space

rgb or Lab

Value

a palette-generating function

Examples

library(pals)
pal.bands(palgen("whiteturbo"))

zwdzwd/sesame documentation built on Nov. 11, 2024, 9:33 a.m.