Learn R Programming

⚠️There's a newer version (5.2.1) of this package.Take me there.

secr (version 5.1.0)

Spatially Explicit Capture-Recapture

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. Models incorporating distance-dependent detection are fitted by maximizing the likelihood. Tools are included for data manipulation and model selection.

Copy Link

Version

Install

install.packages('secr')

Monthly Downloads

2,295

Version

5.1.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Murray Efford

Last Published

November 4th, 2024

Functions in secr (5.1.0)

FAQ

Frequently Asked Questions, And Others
read.capthist

Import or export data
AICcompatible

Model Compatibility
LLsurface

Plot Likelihood Surface
LR.test

Likelihood Ratio Test
RMarkInput

Convert Data to RMark Input Format
RSE

RSE from Fitted Model
plot.MCgof

Methods for MCgof Objects
PG

Telemetry Fixes in Polygons
Parallel

Multi-core Processing
Rsurface

Smoothed Resource Surface
OVpossum

Orongorongo Valley Brushtail Possums
as.data.frame

Coerce capthist to Data Frame or Array
binCovariate

Add Binned Covariate
MCgof

Monte Carlo Goodness-of-fit for SECR Models
blackbear

Black Bear Hair Snag Dataset
as.mask

Coerce traps object to mask
addSightings

Mark-resight Data
addTelemetry

Combine Telemetry and Detection Data
addCovariates

Add Covariates to Mask or Traps
autoini

Initial Parameter Values for SECR
capthist

Spatial Capture History Object
as.popn

Coerce ppp object to popn
coef.secr

Coefficients of secr Object
contour

Contour Detection Probability
confint.secr

Profile Likelihood Confidence Intervals
collate

Array of Parameter Estimates
chat

Overdispersion of Activity Centres
circular

Circular Probability
clone

Replicate Rows
closedN

Closed population estimates
capthist.parts

Dissect Spatial Capture History Object
deviance

Deviance of fitted secr model and residual degrees of freedom
cluster

Detector Clustering
derived

Derived Parameters of Fitted SECR Model
closure.test

Closure tests
deermouse

Deermouse Live-trapping Datasets
details

Detail Specification for secr.fit
housemouse

House mouse live trapping data
deleteMaskPoints

Edit Mask Points
detectfn

Detection Functions
covariates

Covariates Attribute
empirical.varD

Empirical Variance of H-T Density Estimate
expected.n

Expected Number of Individuals
distancetotrap

Distance To Nearest Detector
discretize

Rasterize Area Search or Transect Data
ellipse.secr

Confidence Ellipses
gridCells

Construct Grid Cells
esaPlot

Mask Buffer Diagnostic Plot
detector

Detector Type
fxTotal

Activity Centres of Detected and Undetected Animals
head

First or Last Part of an Object
fxi

Probability Density of Activity Centre
extractMoves

Simulated Movements
homerange

Home Range Statistics
kfn

Overlap Index
hcov

Hybrid Mixture Model
logmultinom

Multinomial Coefficient of SECR Likelihood
logit

Logit Transformation
hornedlizard

Flat-tailed Horned Lizard Dataset
join

Combine or Split Sessions of capthist Object
list.secr.fit

Fit Multiple SECR Models
makeStart

Initial Parameter Values
intervals

Work with Open Population data
mask

Mask Object
make.spcosa

Construct Spatial Coverage Design
make.mask

Build Habitat Mask
make.capthist

Construct capthist Object
make.lacework

Construct Lacework Detector Design
mask.check

Mask Diagnostics
make.traps

Build Detector Array
make.systematic

Construct Systematic Detector Design
pdot

Net Detection Probability
make.tri

Build Detector Array on Triangular or Hexagonal Grid
ovensong

Ovenbird Acoustic Dataset
ovenbird

Ovenbird Mist-netting Dataset
plot.capthist

Plot Detection Histories
popn

Population Object
plot.secr

Plot Detection Functions
nontarget

Non-target Data
plot.mask

Plot Habitat Mask, Density or Resource Surface
plot.popn

Plot Population Object
occasionKey

Key to Petal Plot
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
newdata

Create Default Design Data
predictDsurface

Predict Density Surface
plotMaskEdge

Outline Around Mask Cells
polyarea

Area of Polygon(s)
pointsInPolygon

Points Inside Polygon
print.traps

Print Detectors
randomHabitat

Random Landscape
possum

Brushtail Possum Trapping Dataset
print.capthist

Print Detections
ms

Multi-session Objects
predict.secr

SECR Model Predictions
raster

Create a RasterLayer Object from Mask or Dsurface
rbind.capthist

Combine capthist Objects
rbind.popn

Combine popn Objects
pmixProfileLL

Mixture Model Check
read.traps

Read Detector Data From File
rectangularMask

Rectangular Mask
rbind.traps

Combine traps Objects
region.N

Population Size
score.test

Score Test for SECR Models
Internal

Internal Functions
plot.traps

Plot traps Object
secr-package

Spatially Explicit Capture--Recapture Models
read.telemetry

Import Telemetry Fixes
secr-defunct

Defunct Functions in Package secr
print.secr

Print or Summarise secr Object
secr-deprecated

Deprecated Functions in Package secr
setNumThreads

Number of Threads
secr.design.MS

Construct Detection Model Design Matrices and Lookups
secr-version5

Changes in secr 5.0
shareFactorLevels

Fix Inconsistent Covariates
secrtest

Goodness-of-fit Test Results
secr.fit

Spatially Explicit Capture--Recapture
secr.test

Goodness-of-Fit Test
session

Session Vector
read.mask

Read Habitat Mask From File
reduce

Combine Columns
sighting

Sighting Attributes
signal

Signal Fields
signalmatrix

Reformat Signal Data
sim.popn

Simulate 2-D Population
reduce.capthist

Combine Occasions Or Detectors
sim.capthist

Simulate Detection Histories
snip

Slice Transect Into Shorter Sections
sim.secr

Simulate From Fitted secr Model
subset.popn

Subset popn Object
spacing

Detector or Mask Spacing
sort.capthist

Sort Rows of capthist or mask Object
stoatDNA

Stoat DNA Data
strip.legend

Colour Strip Legend
subset.traps

Subset traps Object
speed

Speed Tips
suggest.buffer

Mask Buffer Width
summary.capthist

Summarise Detections
summary.traps

Summarise Detector Array
timevaryingcov

Time-varying Covariates
secrRNG

Random Number Seed
Trend

Density Trend
trim

Drop Unwanted List Components
transformations

Transform Point Array
smooths

Smooth Terms in SECR Models
secrdemo

SECR Models Fitted to Demonstration Data
summary.mask

Summarise Habitat Mask
skink

Skink Pitfall Data
subset.mask

Subset, Split or Combine Mask Objects
updateCH

Update Old capthist Format
traps

Detector Array
usage

Detector Usage
summary.popn

Summarise Simulated Population
trap.builder

Complex Detector Layouts
verify

Check SECR Data
userdist

Non-Euclidean Distances
traps.info

Detector Attributes
usagePlot

Plot usage, detections or sightings.
writeGPS

Upload to GPS
write.captures

Write Data to Text File
Troubleshooting

Problems in Fitting SECR Models
subset.capthist

Subset or Split capthist Object
turnover

Specifying a Dynamic Population
utility

Utility Functions
vcov.secr

Variance - Covariance Matrix of SECR Parameters
CV

Coefficient of Variation
Dsurface

Density Surfaces
D.designdata

Construct Density Design Data
BUGS

Convert Data To Or From BUGS Format
AIC.secr

Compare SECR Models
Fletcher.chat

Estimate overdispersion