Description Usage Details Value See Also Examples
liminal color palettes
1 2 3 |
Vectors of colors based on the schemes available in Vega-Lite.
Their main purpose is so you can use these palettes in ggplot2
graphics,
so that graphs align with the limn_tour()
functions.
A character vector of hex color codes of length 10 or 20.
https://vega.github.io/vega/docs/schemes/
1 2 3 4 5 6 7 8 9 10 | if (requireNamespace("ggplot2", quietly = TRUE)) {
library(ggplot2)
ggplot(fake_trees, aes(x = dim1, y = dim2, color = branches)) +
geom_point() +
scale_color_manual(values = limn_pal_tableau10())
ggplot(fake_trees, aes(x = dim1, y = dim2, color = branches)) +
geom_point() +
scale_color_manual(values = limn_pal_tableau20())
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.