abundance_palette: eBird Status and Trends color palettes for mapping

View source: R/abundance-palette.R

abundance_paletteR Documentation

eBird Status and Trends color palettes for mapping

Description

Generate the color palettes used for the eBird Status and Trends relative abundance maps.

Usage

abundance_palette(
  n,
  season = c("weekly", "breeding", "nonbreeding", "migration", "prebreeding_migration",
    "postbreeding_migration", "year_round")
)

Arguments

n

integer; the number of colors to be in the palette.

season

character; the season to generate colors for or "weekly" to get the color palette used in the weekly abundance animations.

Value

A character vector of hex color codes.

Examples

# breeding season color palette
abundance_palette(10, season = "breeding")

CornellLabofOrnithology/ebirdst documentation built on Feb. 1, 2023, 8:44 a.m.