Skip to contents

This function assigns default colors if none are provided or adjusts the color vector to match the number n

Usage

set_default_colors(colors, n)

Arguments

colors

character vector, specifying colors for conditions. If NULL, default colors are used.

n

Value

A character vector of colors of length n.