Learn R Programming

secr (version 1.3.0)

pdot: Net Detection Probability

Description

Compute spatially explicit net probability of detection for individual(s) at given coordinates.

Usage

pdot(X, traps, detectfn = 0, detectpar = list(g0 = 0.2, sigma = 20),
    noccasions = 5)

Arguments

X
coordinates
traps
traps object
detectfn
integer code for detection function q.v.
detectpar
a list giving a value for each named parameter of detection function
noccasions
number of intervals (occasions)

Value

  • A vector of probabilities, one for each row in X.

Details

The probability computed is $p.(\mathbf{X}) = 1 - \prod\limits _{k} {1 - p_s(\mathbf{X},k)}^{S}$ where the product is over the detectors in traps. The per-occasion detection function $p_s$ is by default half-normal, and is assumed not to vary over the $S$ occasions. The calculation is not valid for single-catch traps because $p.(\mathbf{X})$ is reduced by competition between animals.

See Also

secr, make.mask, detection functions

Examples

Run this code
temptrap <- make.grid()
  ## per-session detection probability for an individual centred
  ## at a corner trap. By default, noccasions = 5.
  pdot (c(0,0), temptrap, detectpar = list(g0 = 0.2, sigma = 20))

Run the code above in your browser using DataLab