need_colors | R Documentation |
Title color palettes created by douyin dadongsheji, I use colors package a R packages
need_colors(colpal, ncol = NULL, style = "china")
colpal |
a valid color palette name(color number + id,such as 'two1',can see disco()) or a numberic vector that can select color randomly. |
ncol |
when set the colpal names, ncol set how many color you need |
style |
default parameter, Ancient Chinese style is can't change |
a vector of color code
need_colors(9)
need_colors("nine1",8)
need_colors("two2",2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.