ggplot_colours: ggplot2 default colours

View source: R/short_functions.R

ggplot_coloursR Documentation

ggplot2 default colours

Description

Generates colours like the default colours used in ggplot2, by taking points evenly distributed around a colour wheel.

Usage

ggplot_colours(n)

Arguments

n

The number of colours to be returned.

Value

A character vector of hexadecimal colour codes.


m20ty/matkot documentation built on July 1, 2023, 8:11 p.m.