Skip to contents

Canonical landscapeR colour scale

Usage

scale_colour_landscapeR(
  palette = c("binary", "categorical", "continuous", "diverging"),
  reference_level = NULL,
  focal_level = NULL,
  ...
)

Arguments

palette

data role: binary, categorical, continuous, or diverging.

reference_level

declared binary reference level. Required for binary scales.

focal_level

declared binary focal/comparison level. Required for binary scales and mapped to the focal red by default. A named values argument supplied through ... can override that visual mapping.

...

named arguments passed to the corresponding ggplot2 scale constructor. Supplied arguments override landscapeR defaults.

Value

A ggplot2 colour scale.