Skip to contents

The default visual grammar is black, white, and grey. Red is reserved for a declared focal target or nominated result. Blue appears as the negative end of a signed diverging scale. General categorical and continuous palettes are introduced only when the data require them.

Usage

landscapeR_palette(palette = c("semantic", "binary", "categorical"), n = NULL)

Arguments

palette

one of "semantic", "binary", or "categorical".

n

optional number of categorical colours requested. The categorical palette is generated from the same discrete Viridis policy used by the scale helpers and is not capped at eight levels.

Value

A character vector of hexadecimal colours.