colFun {RevGadgets}R 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)


[Package RevGadgets version 1.2.1 Index]