glottocolpal: Color palettes for maps and figures

View source: R/glottocolors.R

glottocolpalR Documentation

Color palettes for maps and figures

Description

Color palettes for maps and figures

Usage

glottocolpal(palette, ncolr = NULL, rev = FALSE, alpha = NULL, show = FALSE)

Arguments

palette

Name of color palette, use glottocolpal("all") to see the options

ncolr

Number of colors to be generated (optional)

rev

Should the order of colors be reversed?

alpha

Values between 0 (transparent) and 1 (opaque)

show

Do you want to plot the color palette?

Value

A vector of colors, optionally plotted.

Examples

glottocolpal(palette = "turbo", show = TRUE)

SietzeN/glottospace documentation built on June 15, 2024, 10:45 p.m.