The RSkittleBrewer package contains three functions: RSkittleBrewer
,
plotSkittles
, and plotSmarties
.
The RSkittleBrewer
function returns a vector of character strings
corresponding to the colors for a given candy-related color palette.
library(RSkittleBrewer) RSkittleBrewer("wildberry")
The plotSkittles
function makes a plot to illustrate four of the
five available palettes.
plotSkittles()
The plotSmarties
function makes a plot to illustrate the
"smarties"
palette.
plotSmarties()
See the related blog post for further information about the package. The source is on GitHub.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.