set_default_colors {dRiftDM} | R Documentation |
Set Default Colors
Description
This function assigns default colors if none are provided or adjusts the color vector to match the number of conditions.
Usage
set_default_colors(colors, unique_conds, default_colors)
Arguments
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 |
Value
A character vector of colors, matching the length of unique_conds
.
[Package dRiftDM version 0.2.2 Index]