scale_fill_fermenter_custom: Custom fermenter fill scale for ggplot2

View source: R/utils.R

scale_fill_fermenter_customR Documentation

Custom fermenter fill scale for ggplot2

Description

A fermenter scale that accepts custom color palettes.

Usage

scale_fill_fermenter_custom(
  pal,
  na.value = "grey50",
  guide = "coloursteps",
  aesthetics = "fill",
  ...
)

Arguments

pal

A character vector of colors to be used for the palette

na.value

Color for NA values

guide

Type of guide for ggplot2::binned_scale to use

aesthetics

ggplot2 aesthetic type for the scale (e.g. "fill")

...

Addditional arguments passed to ggplot2::binned_scale


afsc-gap-products/coldpool documentation built on Sept. 14, 2024, 7:40 p.m.