ebirdst_palettes {ebirdst} | R Documentation |
eBird Status and Trends color palettes for mapping
Description
Generate the color palettes used for the eBird Status and Trends relative abundance and trends maps.
Usage
ebirdst_palettes(
n,
type = c("weekly", "breeding", "nonbreeding", "migration", "prebreeding_migration",
"postbreeding_migration", "year_round", "trends")
)
Arguments
n |
integer; the number of colors to be in the palette. |
type |
character; the type of color palette: "weekly" for the weekly relative abundance, "trends" for trends color palett, and a season name for the seasonal relative abundance. Note that for trends a diverging palette is returned, while all other palettes are sequential. |
Value
A character vector of hex color codes.
Examples
# breeding season color palette
ebirdst_palettes(10, type = "breeding")
[Package ebirdst version 3.2022.3 Index]