mapRichness: mapRichness

mapRichnessR Documentation

mapRichness

Description

Produces an html map of bird species richness.

Usage

mapRichness(
  object,
  years = NA,
  points = NA,
  palette = "BuGn",
  maptype = "basic",
  title = "Species Richness",
  ...
)

Arguments

object

Either an object of class NCRNbirds or a list of such objects.

years

Optional. A vector of numeric value(s) indicating the year of the data you wish to map. NA, the default, combines data across all years.

points

A character vector of point names. NA, the default, will map all points.

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 mapBirds for options.

title

A character vector to be used as the legend title.

...

Additional arguments passed to birdRichness.

Details

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.

See Also

birdRichness mapBirds


NCRN/NCRNbirds documentation built on Aug. 28, 2023, 12:12 p.m.