Learn R Programming

multicolor (version 0.1.7)

palettes: Out-of-the-box Color Palettes

Description

Take the string "rainbow" and replace it with c("red", "orange", "yellow", "green", "blue", "purple")

Usage

palettes

Arguments

Value

A character vector of color values.

Format

An object of class list of length 4.

Examples

Run this code

multi_color(things$cat, colors = palettes$lacroix)

Run the code above in your browser using DataLab