boynton: Retrieve one or more of Boynton's 11 color specifications as...

View source: R/boynton.R

boyntonR Documentation

Retrieve one or more of Boynton's 11 color specifications as hex, rgb triplets or a data.frame

Description

Retrieve one or more of Boynton's 11 color specifications as hex, rgb triplets or a data.frame

Usage

boynton(index, ...)

Arguments

index

a vector of indices to retrieve if missing then all 11 are returned Boynton's colors are named, so it is possible to specify by name or position index

...

further arguments for get_lut

Value

color values in the form specified

hex

a character vector of hexidecimal strings, this is the default

rgb

a 3-column matrix of red, green and blue values

data.frame

a 4 column data frame, see BOYNTONLUT

Examples

plot(3:11, pch = 19, col = boynton(3:11))

btupper/catecolors documentation built on Sept. 22, 2023, 12:40 p.m.