scale_color_USFWS: Change color to one of USFWS's palettes

Description Usage Arguments Examples

View source: R/ggplot_extensions.R

Description

Custom color scale to use the USFWS palettes.

Usage

1
get_USFWS_palettes(palette="main", reverse=  F, ...)

Arguments

palette

Name of the palette (dolly, sockeye, coaster, aurora, florida)

reverse

Boolean: should the palette be reversed

Examples

1
2
3
4
5
6
7
library(tidyverse)
library(USFWSpalettes)
diamonds %>%
 ggplot(aes(x=cut, fill=cut))+
 geom_bar()+
 theme_minimal()+
 scale_fill_USFWS()

delabj/USFWSpalettes documentation built on Nov. 13, 2020, 4:02 a.m.