palettize | R Documentation |
Filter and order a set of colors to produce a palette suitable for multicolor plots
palettize(
x,
grayscale_hicut = 0.8,
start_with = "#16A0AC",
order_by = c("separation", "dissimilarity", "similarity")
)
x |
Color vector |
grayscale_hicut |
Numeric: exclude colors whose grayscale equivalent is greater than this value |
start_with |
Integer or color: For integer, start with this color out
of |
order_by |
Character: "separation", "dissimilarity", "similarity" |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.