getColors: Get Colors

View source: R/getColors.R

getColorsR Documentation

Get Colors

Description

Get vector of length n_v from RColorBrewer

Usage

getColors(n_v)

Arguments

n_v

number of colors to get

Details

Uses Dark2 (8) first, then Set3 (12), and finally Pastel1 (9). If n_v is greater than the total colors in those 3 sets, warning will be thrown.

Value

vector of color hex codes


weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.