scale_colour_nhs: Color scale constructor for NHS theme colours

View source: R/scale_colour_nhs.R

scale_colour_nhsR Documentation

Color scale constructor for NHS theme colours

Description

Color scale constructor for NHS theme colours

Usage

scale_colour_nhs(palette = "main", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Character name of palette in NHS theme

discrete

Boolean indicating whether colour aesthetic is discrete or not

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments passed to discrete_scale() or scale_colour_gradientn(), used respectively when discrete is TRUE or FALSE


nhs-r-community/nhsrtheme documentation built on Dec. 7, 2024, 11:29 p.m.