Description Usage Arguments Details Value Author(s) Examples
A nice color palette for barplots with several bars.
1 | bar.colors(n)
|
n |
the number of colors to be in the palette. |
This function can be used to select colors for bar plots.
a character vector containing different color names that can be used for barplots.
Hajk-Georg Drost
1 2 | # get 5 different colors for 5 different bars
barplot_colors <- bar.colors(5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.