expand_palette: Function to expand a vector of colors if needed

View source: R/utils.R

expand_paletteR Documentation

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


AstraZeneca/INSPECTumours documentation built on March 30, 2023, 12:30 p.m.