View source: R/build_palettes.R
sc_across | R Documentation |
Generates a palette within across hues
sc_across(palette = "ROYGTBVPGy", light = 3, sat = "", return = NULL)
palette |
the first letter of each hue to include |
light |
the lightness value to hold constant (1:7) |
sat |
the saturation value to hold constant ("bright", "muted", "dull", "") |
return |
defaults to returning hex codes but can also return a table or plot of the generated palette |
Other palettes:
sc_within()
sc_across(palette = "BO")
sc_across(palette = "BO", sat = "bright", return = "table")
sc_across(palette = "BO", sat = "bright", return = "plot")
sc_across(palette = "RBTVPGy", light = 4, return = "plot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.