mapUnmarked: mapUnmarked

mapUnmarkedR Documentation

mapUnmarked

Description

Produces an html map of fits for an unmarked fit.

Usage

mapUnmarked(
  object,
  model,
  estimate = "psi",
  years = NA,
  points = NA,
  palette = "BuGn",
  maptype = "basic",
  title = "Model Estimates"
)

Arguments

object

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

model

An unmarked fit object such as those created by unmarkedBirds.

estimate

Either "psi", the default, or "z". Inidicates the type of esimate you wish to display.

years

A vector of a single numeric value indicating the year of the estimates you wish to map. Do not include multiple years as the map shows preictios for a particular year.

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.

Details

This function prodcues a map showing model fits for unmarked fit objects for a given year, as produced by unmarkedBirds. In order to produce the map the function requries you to specify which year's fits you are interestred in. The fits are then passed on to the mapBirds function.

See Also

unmarkedBirds mapBirds


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