get_pals: Stored color palettes.

View source: R/palettes.R

get_palsR Documentation

Stored color palettes.

Description

A collection of pleasant color palettes, good for color contrast or color gradients.

Usage

get_pals(pal)

Arguments

pal

An integer corresponding to a color palette.

Value

Hex codes of a color palette.

Author(s)

hbk5086@psu.edu

Examples

pal <- get_pals(4)
n <- length(pal)
plot(seq(n), runif(n), col = pal, cex = 15)

hillarykoch/CLIMB documentation built on Oct. 24, 2022, 4:27 a.m.