Description Usage Arguments Value See Also Examples
View source: R/make_color_scheme.R
Expands colors of any brewer.pal-scheme to n colors
1 |
name |
name of the color scheme, e.g. 'Paired', 'Spectral' or 'BrBG'. |
n |
number of colors needed. |
returns a vector of colors which can be used in various plots/plotting functions.
For scheme-options see RColorBrewer::brewer.pal.info()
.
1 | make_color_scheme("Paired", 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.