rail_pal: rail palette

Description Usage Arguments Examples

View source: R/scales.R

Description

rail palette

Usage

1
rail_pal(palette = "aberdeen", alpha = 1, reverse = FALSE)

Arguments

palette

Choose from 'rail_palettes' list

alpha

transparency

reverse

If TRUE, the direction of the colours is reversed.

Examples

1
2
3
4
library(tidyverse)
ggplot(data = diamonds) +
geom_bar(mapping = aes(x = cut, fill = cut)) 
+ theme_wordfig() + scale_fill_rail(palette="aberdeen")

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