Learn R Programming

khroma (version 1.14.0)

info: Available Schemes

Description

Returns information about the available schemes.

Usage

info()

Arguments

Value

A data.frame with the following columns:

palette

Names of palette.

type

Types of schemes: sequential, diverging or qualitative.

max

Maximum number of colors that are contained in each palette. Only relevant for qualitative schemes.

missing

The hexadecimal color value for mapping missing values.

Author

N. Frerebeau

See Also

Other color schemes: colour()

Examples

Run this code
## Get a table of available palettes
info()

Run the code above in your browser using DataLab