get_nhs_palette: Return function to interpolate an Nhs theme colour palette

View source: R/get_nhs_palette.R

get_nhs_paletteR Documentation

Return function to interpolate an Nhs theme colour palette

Description

Return function to interpolate an Nhs theme colour palette

Usage

get_nhs_palette(palette = "main", reverse = FALSE, ...)

Arguments

palette

Character name of section in Nhs theme

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette()


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