gen_palette-deprecated | R Documentation |
This function generates i_1, i_2, ... i_n
shades and tints specified
in clr.tbl
for n
colors clr.pal
. If no clr.tbl
is specified, this function generates n
maximally separated colors
with equal saturation and brightness from a base color.
gen_palette(clr_tbl, clr_pal = NULL, base_clr = "#6495ed")
clr_tbl |
A |
clr_pal |
A color palette with with |
base_clr |
The base color from which to generate a color palette. |
A list of n
items, each containing i_n
shades.
fantaxtic-deprecated
clr_tbl <- data.frame(Var = c("Phylum A", "Phylum B"),
Freq = c(5, 8))
gen_palette(clr_tbl)
gen_palette(clr_tbl, clr_pal = c("red", "blue"))
gen_palette(clr_tbl, base_clr = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.