mapBCI: mapBCI

mapBCIR Documentation

mapBCI

Description

Produces an html map of BCI Cateogries for a given year.

Usage

mapBCI(
  object,
  years,
  points = NA,
  type = "Cent_Appal",
  palette = "BuGn",
  maptype = "basic",
  title = "BCI Category",
  ...
)

Arguments

object

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

years

A single numeric value indicating the year of the data you wish to map.

points

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

type

A mandatory length 1 character vector that indicates the type of BCI to calculate. Can be "Cent_Appal", the default, or "NETN_Forest_BCI"

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 BCI.

Details

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.

See Also

BCI mapBirds


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