mapRichness | R Documentation |
Produces an html map of bird species richness.
mapRichness(
object,
years = NA,
points = NA,
palette = "BuGn",
maptype = "basic",
title = "Species Richness",
...
)
object |
Either an object of class |
years |
Optional. A vector of numeric value(s) indicating the year of the data you wish to map. |
points |
A character vector of point names. |
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 bird species richness of each point for one or more years. Bird species richness is calculated using the
birdRichness
function, and this data is then passed on to the mapBirds
function.
birdRichness
mapBirds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.