PlotColors | R Documentation |
Copyright (C) 2018 Karl Broman GNU General Public License, version 3, available at https://www.r-project.org/Licenses/GPL-3
PlotColors(
set = c("main", "lines", "cbPalette", "hivcascade4", "hivcascade5", "crayons",
"dracula")
)
set |
Character string indicating a set of colors. |
This function Creates different vectors of colors that I use for plots. It was inspired by Karl Broman's brocolors.R function: https://github.com/kbroman/pkg_primer/blob/gh-pages/example/stage5/R/brocolors.R which he uses in his minimal R package example. I have copied a number of pieces of that, particularly the crayon colors specifications.
Vector of character strings representing the chosen set of colors, in RGB.
Richard T Gray, Rgray@kirby.unsw.edu.au
https://github.com/kbroman/pkg_primer/blob/gh-pages/example/stage5/R/brocolors.R
http://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
PlotCrayons
PlotColors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.