ggcol: Returns ggplot2 default colour-codes

View source: R/ggcol.R

ggcolR Documentation

Returns ggplot2 default colour-codes

Description

Creates the colour code for the first n ggplot2 default colours.

Usage

ggcol(n = 3, h = c(0, 360) + 15)

Arguments

n

An integer value representing the desired number of colours.

h

A numeric vector for adjusting the colours.

Value

Returns a character vector of length n that contains the colour code.

Author(s)

Dennis Freuer


freuerde/puzzle documentation built on March 27, 2022, 5:30 p.m.