Description Usage Arguments Value Examples
allows RColorBrew to handle n values less than 3 and greater than 8 without warnings and return expected number of colors.
1 | safeBrew(n, pal = "Dark2")
|
n |
integer value of number of colors to make palette for |
pal |
palette recognized by RColorBrewer |
a character vector of hex coded colors o flength n from the color brewer palette pal
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.