scale_fill_rail: Setup fill palette for ggplot2

Description Usage Arguments

View source: R/scales.R

Description

Setup fill palette for ggplot2

Usage

1
2
3
4
5
6
7
scale_fill_rail(
  ...,
  palette = "aberdeen",
  discrete = TRUE,
  alpha = 1,
  reverse = TRUE
)

Arguments

...

additional arguments to pass to scale_color_gradientn

palette

Choose from 'rail_palettes' list

discrete

whether to use a discrete colour palette

alpha

pass through parameter to viridis

reverse

If TRUE, the direction of the colours is reversed.


petermacp/pmthemes documentation built on Aug. 16, 2020, 11:19 p.m.