scale_color_rpg: Create a Color Scale for ggplot

View source: R/Colors_Dev.R

scale_color_rpgR Documentation

Create a Color Scale for ggplot

Description

This function is inserted into a ggplot call to replace a scale_color command.

Usage

scale_color_rpg(palette = "logo", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

A string representing a color palette, see https://bfroebrpg.github.io/rpgcolorsr_pages/ for a full list of palettes

discrete

Changes between discrete or continuous scales

reverse

When true the default order of the color palette is reversed

Details

By default the palette will be discrete.

Value

a function to create a color palette


BFroebRPG/rpgcolorsr documentation built on Sept. 4, 2023, 6:31 a.m.