scale_fill_rpg: Create a Fill Scale for ggplot

View source: R/Colors_Dev.R

scale_fill_rpgR Documentation

Create a Fill Scale for ggplot

Description

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

Usage

scale_fill_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 July 2, 2022, 2:41 a.m.