rand_pal_d: Get Random Palette from paletteer

View source: R/rand_pal_d.R

rand_pal_dR Documentation

Get Random Palette from paletteer

Description

Get Random Discrete Color Palette

Usage

rand_pal_d(n_colors = 3)

Arguments

n_colors

The minimum number of colors in the palette.

Details

This function pulls a random discrete palette from paletteer that has a minimum length. It returns the name of the palette and the hexcodes.

Value

A list of the package name and the colors

Examples


rand_pal_d(n_colors = 4)


simscr/crsp documentation built on Sept. 29, 2023, 7:09 p.m.