Learn R Programming

INSPECTumours (version 0.1.0)

expand_palette: Function to expand a vector of colors if needed

Description

Function to expand a vector of colors if needed

Usage

expand_palette(col_palette, n)

Arguments

col_palette

character palette to color the treatments

n

how many colors are needed

Value

a character vector of colors