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 Dec. 21, 2024, 1:20 p.m.