wolak_palette | R Documentation |
Sets up the R object of class palette that contains one of the pre-specified color palettes.
wolak_palette(name = "aucfriend", n, type = c("discrete", "continuous"))
name |
Character specifying name of palette to use. See
|
n |
Integer number of colors to return. |
type |
Character indicating either “discrete” for colors already listed in the paletter or “continuous” to interpolate between colors. |
Function is based off the wesanderson::wes_palette
function.
A vector of colors of the class “palette” with a palette name.
clr <- wolak_palette("aucfriend")
## Not run:
# check:
colorblindcheck::palette_check(clr, plot = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.