Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

pophelper (version 2.0.0)

getColours: Internal: Get Colours

Description

Internal: Generate colours based on number of K.

Usage

getColours(k)

Arguments

k

A numeric indicating the number of colours required

Value

Returns a character vector of k colours in hexadecimal format

Details

Colours 1 to 12 are custom unique colours. Colours beyond 15 are generated from colour ramp rich.colors() from package gplots.