colFun: Color Function

View source: R/colFun.R

colFunR Documentation

Color Function

Description

Produce default RevGadgets colors

Usage

colFun(n)

Arguments

n

(integer; no default) Number of colors to return. Maximum of 12.

Details

Produces a vector of colors from the default RevGadgets colors of length given by n, maximum of 12 colors.

Value

Character vector of color hex codes.

Examples


my_colors <- colFun(2)


revbayes/RevGadgets documentation built on Jan. 19, 2024, 3:29 p.m.