Learn R Programming

secr (version 2.5.0)

secr-package: Spatially Explicit Capture--Recapture Models

Description

Functions to estimate the density and size of a spatially distributed animal population sampled with an array of passive detectors, such as traps, or by searching polygons or transects.

Arguments

Acknowledgements

David Borchers made many of these methods possible with his work on the likelihood, and I'm grateful for his continuing advice. Jeff Laake provided encouragement and reviewed an early version. Ray Brownrigg got my Windows code running under Unix. Deanna Dawson edited some of the documentation (the cleaner bits!) and her support and collaboration were important throughout. Tiago Marques and Mike Meredith suggested many improvements to the documentation and provided valued criticism and support.

Details

ll{ Package: secr Type: Package Version: 2.5.0 Date: 2013-01-24 License: GNU General Public License Version 2 or later } Spatially explicit capture--recapture is a set of methods for studying marked animals distributed in space. Data comprise the locations of detectors (traps, searched areas, etc. described in an object of class `traps'), and the detection histories of individually marked animals. Individual histories are stored in an object of class `capthist' that includes the relevant `traps' object. Models for population density (animals per hectare) and detection are defined in secr using symbolic formula notation. Density models may include spatial or temporal trend. Possible predictors for detection probability include both pre-defined variables (t, b, etc.) corresponding to `time', `behaviour' and other effects), and user-defined covariates of several kinds. Habitat is distinguished from nonhabitat with an object of class `mask'. Models are fitted in secr by maximizing either the full likelihood or the likelihood conditional on the number of individuals observed ($n$). Conditional likelihood models are limited to homogeneous Poisson density, but allow continuous individual covariates for detection. A model fitted with secr.fit is an object of class secr. Generic methods (plot, print, summary, etc.) are provided for each object class. A link at the bottom of each help page takes you to the help index. Several vignettes complement the help pages: ll{ ../doc/secr-overview.pdf general introduction ../doc/secr-datainput.pdf data formats and input functions ../doc/secr-densitysurfaces.pdf modelling density surfaces ../doc/secr-finitemixtures.pdf mixture models for individual heterogeneity ../doc/secr-polygondetectors.pdf using polygon and transect detector types ../doc/secr-sound.pdf analysing data from microphone arrays ../doc/secr-varyingeffort.pdf variable effort in SECR models } The help pages are also available as ../doc/secr-manual.pdf. The datasets possum, skink, ovenbird, housemouse, deermouse, ovensong, hornedlizard and stoatDNA include examples of fitted models. The analyses in secr extend those available in the software Density (see http://www.otago.ac.nz/density/index.html{www.otago.ac.nz/density} for the most recent version of Density). Help is available on the `DENSITY | secr' forum at http://www.phidot.org/forum/index.php{www.phidot.org}. Feedback on the software is also welcome, including suggestions for additional documentation or new features consistent with the overall design.

References

Borchers, D. L. and Efford, M. G. (2008) Spatially explicit maximum likelihood methods for capture--recapture studies. Biometrics 64, 377--385. Efford, M. G. (2004) Density estimation in live-trapping studies. Oikos 106, 598--610. Efford, M. G. (2011) Estimation of population density by spatially explicit capture--recapture with area searches. Ecology 92, 2202--2207. Efford, M. G., Borchers D. L. and Byrom, A. E. (2009) Density estimation by spatially explicit capture-recapture: likelihood-based methods. In: D. L. Thomson, E. G. Cooch and M. J. Conroy (eds) Modeling Demographic Processes in Marked Populations. Springer, New York. Pp. 255--269. Efford, M. G., Dawson, D. K. and Borchers, D. L. (2009) Population density estimated from locations of individuals on a passive detector array. Ecology 90, 2676--2682. Efford, M. G., Dawson, D. K. and Robbins C. S. (2004) DENSITY: software for analysing capture-recapture data from passive detector arrays. Animal Biodiversity and Conservation 27, 217--228.

See Also

read.capthist, secr.fit, traps, capthist, mask

Examples

Run this code
## generate some data & plot
detectors  <- make.grid (nx = 10, ny = 10, spacing = 20,
    detector = "multi")
plot(detectors, label = TRUE, border = 0, gridspace = 20)
detections <- sim.capthist (detectors, noccasions = 5,
    popn = list(D = 5, buffer = 100),
    detectpar = list(g0 = 0.2, sigma = 25))
session(detections) <- "Simulated data"
plot(detections, border = 20, tracks = TRUE, varycol = TRUE)

## generate habitat mask
mask <- make.mask (detectors, buffer = 100, nx = 48)

## fit model and display results
secr.model <- secr.fit (detections, model = g0~b, mask = mask)
secr.model

Run the code above in your browser using DataLab