ng_scale: Colour scale constructor for Nightingale colours

scale_colour_ng_dR Documentation

Colour scale constructor for Nightingale colours

Description

Colour scale constructor for Nightingale colours

Usage

scale_colour_ng_d(..., palette = "all", reverse = FALSE, aesthetics = "colour")

scale_fill_ng_d(..., palette = "all", reverse = FALSE, aesthetics = "fill")

Arguments

...

Additional arguments passed to discrete_scale() or continuous_scale() to control name, limits, breaks, labels and so forth.

palette

Character name of the Nightingale (or viridis) colour palette.

reverse

Boolean indicating whether the palette should be reversed.

aesthetics

Character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with. This can be useful, for example, to apply colour settings to the colour and fill aesthetics at the same time, via aesthetics = c("colour", "fill").

Author(s)

Ilari Scheinin


JMPivette/covidDashUtils documentation built on July 13, 2024, 11:08 a.m.