mapBCI | R Documentation |
Produces an html map of BCI Cateogries for a given year.
mapBCI(
object,
years,
points = NA,
type = "Cent_Appal",
palette = "BuGn",
maptype = "basic",
title = "BCI Category",
...
)
object |
Either an object of class |
years |
A single numeric value indicating the year of the data you wish to map. |
points |
A character vector of point names. |
type |
A mandatory length 1 character |
palette |
Color pallete for the colors of the points Defaults to "BuGn" (blue green) but will accept any RColorBrewer, viridis or custom palette. |
maptype |
The type of base map to be used. See |
title |
A character vector to be used as the legend title. |
... |
Additional arguments passed to |
This function prodcues a map showing the BCI category of each point for a given year. BCI values and categories are calculated using the
BCI
function, and this data is then passed on to the mapBirds
function. As the BCI value makes little sense when calculated
using multiple years of data, only a single year should be indicated in the years
argument.
BCI
mapBirds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.