color_vector.Rd
Returns a vector of color codes of the respective palette
color_vector(clrp, names = NULL, clrp.adjust = NULL, n.colors = NA)
Character value. Denotes the color palette of interest. Run all_colorpalettes()
to
obtain valid inputs.
Character vector or NULL. Assigns names to the color vector (in the same order).
Named character vector or NULL. If character, it adjusts the colors that are used to represent the groups. Names of the input vector must refer to the group and the respective named element denotes the color with which to represent the group.
Numeric value. Must be specified if clrp
is set to 'default'
and names
is NULL.
Character vector.