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_new documentation built on Dec. 7, 2023, 10:02 p.m.