View source: R/ebirdst-palettes.R
ebirdst_palettes | R Documentation |
Generate the color palettes used for the eBird Status and Trends relative abundance and trends maps.
ebirdst_palettes(
n,
type = c("weekly", "breeding", "nonbreeding", "migration", "prebreeding_migration",
"postbreeding_migration", "year_round", "trends")
)
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. |
A character vector of hex color codes.
# breeding season color palette
ebirdst_palettes(10, type = "breeding")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.