p.dot: Calculating detection probabilities

View source: R/helpers.r

p.dotR Documentation

Calculating detection probabilities

Description

Calculates the probability of detection by at least one detector for specific locations in the survey area.

Usage

p.dot(
  fit = NULL,
  session = 1,
  esa = FALSE,
  points = get.mask(fit, session),
  traps = NULL,
  detfn = NULL,
  ss.link = NULL,
  pars = NULL,
  n.quadpoints = 8
)

Arguments

fit

A fitted model from fit.ascr.

session

For multisession models, the session from which the trap locations should be taken.

esa

Logical, if TRUE the effective sampling area is returned instead of capture probabilities.

points

A matrix with two columns. Each row provides Cartesian coordinates for the location of a point at which a capture probability should be returned.

traps

A matrix with two columns. Each row provides Cartesian coordinates for the location of a trap (or detector). Ignored if fit is not NULL.

detfn

A character string specifying the detection function to be used. One of "hn" (halfnormal), "hr" (hazard rate), "th" (threshold), "lth" (log-link threshold), or "ss" (signal strength). Ignored if fit is not NULL.

ss.link

A character string, either "identity", "log", or "spherical", which specifies the relationship between the expected received signal strength and distance from the microphone. See the documentation for fit.ascr for further details. Ignored if fit is not NULL.

pars

A named list. Component names are parameter names, and each component is a value for the associated parameter. Ignored if fit is not NULL.

n.quadpoints

An integer, giving the number of quadrature points used for numerical integration over the possible call directions.

Value

A vector containing detection probabilities for each location in points.


b-steve/ascr documentation built on Aug. 15, 2022, 2:38 p.m.