default.colours: Get a vector of default colours.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/default.colours.R

Description

Return a vector of default colours based on the RColorBrewer package.

Usage

1
default.colours(n = 2, palette = "Set1")

Arguments

n

Number of colours to return.

palette

RColorBrewer palette to select colours from.

Value

Returns a character vector with number of colours matching the "n" argument.

Author(s)

Richard de Borja <richard.deborja@sickkids.ca>

See Also

RColorBrewer

Examples

1

rdeborja/plotting.general documentation built on May 27, 2019, 3:05 a.m.