setColors | R Documentation |
This function set a given number of colors to create a color wheel
setColors(color, num)
color |
an R color name or a color in hexadecimal notation |
num |
integer value indicating how many colors to be added to the wheel |
A character vector with the given color and the set of colors to create a wheel color
Gaston Sanchez
col2HSV
# create a color wheel based on 'tomato' setColors("tomato", 12) # set 7 colors for '#3D6DCC' setColors("#3D6DCC", 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.