set_default_colors | R Documentation |
This function assigns default colors if none are provided or adjusts the color vector to match the number of conditions.
set_default_colors(colors, unique_conds, default_colors)
colors |
character vector, specifying colors for conditions. If NULL,
|
unique_conds |
character vector, listing unique conditions to match color assignments (only the length counts). |
default_colors |
character vector, default colors to use if |
A character vector of colors, matching the length of unique_conds
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.