Description Usage Arguments Value References Examples
Calculates the detection probability at one or more distances.
1 2 | detection.prob(d, detection.function = c("halfnormal", "hazard"), theta,
deriv, stop = F)
|
d |
The distance or distances of interest. |
detection.function |
The detection function. Only "halfnormal" and "hazard" (hazard rate) are supported at present. |
theta |
The detection function parameters. A single value for halfnormal, or a vector of two values for hazard rate. |
deriv |
Optional numeric value specifying whether a derivative is required. If missing, the function returns the detection probabilities at distances d. If deriv is equal to 1 or 2, the derivatives of the detection function with respect to theta[deriv] at d are returned. Note that the halfnormal detection function has only one parameter, so setting deriv=2 and detection.function="halfnormal" will result in an error. |
stop |
Set to T to open a browser window (for debugging purposes) |
A vector of detection probabilities corresponding to the distances in d.
Buckland S, Anderson D, Burnham K, Laake J and Borchers D (2001). Introduction to Distance Sampling: Estimating Abundance of Biological Populations. Oxford: Oxford University Press.
Clark, R. G. (2016), "Statistical efficiency in distance sampling," PLoS One, forthcoming, www.plosone.org
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.