get_default_colors | R Documentation |
Get default colors, linetype, etc.
get_default_colors(var, levels)
get_default_linetypes(var, levels)
var |
Variable for which default color/linetype is requested. Can be either '"category"' or '"group"'. |
levels |
Character vector of levels of the variable. |
Character vector of color/linetype values in the order specified by 'levels'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.