scico_palette: Create a color palette from the Scico palette

View source: R/colors.R

scico_paletteR Documentation

Create a color palette from the Scico palette

Description

Create a color palette from the Roma palette containing 24 colors. If n is greater than the length of roma, return the full palette.

Usage

scico_palette(n, palette = c("roma", "hawaii", "tokyo", "vik"))

Arguments

n

The number of colors to sample from the Roma palette.

palette

Palettes from scico.

Value

A vector of colors sampled from the scico palette.

Examples

## Not run: 
scico_palette(11, "hawaii")

## End(Not run)


jtrampush/npsych.data documentation built on Feb. 25, 2025, 12:30 a.m.