Learn R Programming

RSkittleBrewer (version 1.1)

RSkittleBrewer: Candy-based color palettes

Description

Vectors of colors corresponding to different candies.

Usage

RSkittleBrewer(flavor = c("original", "tropical", "wildberry", "M&M", "smarties"))

Arguments

flavor
Character string for candy-based color palette.

Value

Vector of character strings representing the chosen set of colors.

See Also

plotSkittles, plotSmarties

Examples

Run this code
plotSkittles()
plotSmarties()

Run the code above in your browser using DataLab