Learn R Programming

secr (version 5.2.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,200

Version

5.2.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Murray Efford

Last Published

January 24th, 2025

Functions in secr (5.2.0)

FAQ

Frequently Asked Questions, And Others
LR.test

Likelihood Ratio Test
Rsurface

Smoothed Resource Surface
Parallel

Multi-core Processing
PG

Telemetry Fixes in Polygons
RMarkInput

Convert Data to RMark Input Format
RSE

RSE from Fitted Model
OVpossum

Orongorongo Valley Brushtail Possums
plot.MCgof

Methods for MCgof Objects
addCovariates

Add Covariates to Mask or Traps
MCgof

Monte Carlo Goodness-of-fit for SECR Models
capthist

Spatial Capture History Object
as.data.frame

Coerce capthist to Data Frame or Array
as.mask

Coerce traps object to mask
as.popn

Coerce ppp object to popn
binCovariate

Add Binned Covariate
blackbear

Black Bear Hair Snag Dataset
capthist.parts

Dissect Spatial Capture History Object
autoini

Initial Parameter Values for SECR
closure.test

Closure tests
coef.secr

Coefficients of secr Object
collate

Array of Parameter Estimates
confint.secr

Profile Likelihood Confidence Intervals
contour

Contour Detection Probability
clone

Replicate Rows
closedN

Closed population estimates
chat

Overdispersion of Activity Centres
circular

Circular Probability
addTelemetry

Combine Telemetry and Detection Data
addSightings

Mark-resight Data
derivedDsurface

Derived Absolute Density
deermouse

Deermouse Live-trapping Datasets
deleteMaskPoints

Edit Mask Points
cluster

Detector Clustering
covariates

Covariates Attribute
housemouse

House mouse live trapping data
details

Detail Specification for secr.fit
detectfn

Detection Functions
derived

Derived Parameters of Fitted SECR Model
detector

Detector Type
deviance

Deviance of fitted secr model and residual degrees of freedom
fxi

Probability Density of Activity Centre
gridCells

Construct Grid Cells
ellipse.secr

Confidence Ellipses
empirical.varD

Empirical Variance of H-T Density Estimate
discretize

Rasterize Area Search or Transect Data
distancetotrap

Distance To Nearest Detector
esaPlot

Mask Buffer Diagnostic Plot
extractMoves

Simulated Movements
fxTotal

Activity Centres of Detected and Undetected Animals
list.secr.fit

Fit Multiple SECR Models
hcov

Hybrid Mixture Model
homerange

Home Range Statistics
hornedlizard

Flat-tailed Horned Lizard Dataset
expected.n

Expected Number of Individuals
logmultinom

Multinomial Coefficient of SECR Likelihood
logit

Logit Transformation
head

First or Last Part of an Object
make.tri

Build Detector Array on Triangular or Hexagonal Grid
make.traps

Build Detector Array
newdata

Create Default Design Data
join

Combine or Split Sessions of capthist Object
makeStart

Initial Parameter Values
kfn

Overlap Index
intervals

Work with Open Population data
mask

Mask Object
make.spcosa

Construct Spatial Coverage Design
make.capthist

Construct capthist Object
make.systematic

Construct Systematic Detector Design
occasionKey

Key to Petal Plot
plot.mask

Plot Habitat Mask, Density or Resource Surface
plot.capthist

Plot Detection Histories
ovenbird

Ovenbird Mist-netting Dataset
popn

Population Object
polyarea

Area of Polygon(s)
plot.popn

Plot Population Object
possum

Brushtail Possum Trapping Dataset
plot.secr

Plot Detection Functions
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
predict.secr

SECR Model Predictions
mask.check

Mask Diagnostics
ms

Multi-session Objects
nontarget

Non-target Data
make.lacework

Construct Lacework Detector Design
make.mask

Build Habitat Mask
pmixProfileLL

Mixture Model Check
pointsInPolygon

Points Inside Polygon
read.mask

Read Habitat Mask From File
rbind.traps

Combine traps Objects
ovensong

Ovenbird Acoustic Dataset
pdot

Net Detection Probability
randomHabitat

Random Landscape
print.secr

Print or Summarise secr Object
rbind.popn

Combine popn Objects
rbind.capthist

Combine capthist Objects
raster

Create a RasterLayer Object from Mask or Dsurface
predictDsurface

Predict Density Surface
print.traps

Print Detectors
print.capthist

Print Detections
read.telemetry

Import Telemetry Fixes
reduce.capthist

Combine Occasions Or Detectors
region.N

Population Size
rectangularMask

Rectangular Mask
reduce

Combine Columns
plot.traps

Plot traps Object
read.traps

Read Detector Data From File
secr-defunct

Defunct Functions in Package secr
score.test

Score Test for SECR Models
plotMaskEdge

Outline Around Mask Cells
secr-deprecated

Deprecated Functions in Package secr
Internal

Internal Functions
secr.design.MS

Construct Detection Model Design Matrices and Lookups
secr.fit

Spatially Explicit Capture--Recapture
secr-version5

Changes in secr 5.0
secr-package

Spatially Explicit Capture--Recapture Models
secrdemo

SECR Models Fitted to Demonstration Data
secrtest

Goodness-of-fit Test Results
secr.test

Goodness-of-Fit Test
secrRNG

Random Number Seed
session

Session Vector
sighting

Sighting Attributes
smooths

Smooth Terms in SECR Models
sim.secr

Simulate From Fitted secr Model
shareFactorLevels

Fix Inconsistent Covariates
snip

Slice Transect Into Shorter Sections
sim.capthist

Simulate Detection Histories
skink

Skink Pitfall Data
setNumThreads

Number of Threads
sim.popn

Simulate 2-D Population
signalmatrix

Reformat Signal Data
signal

Signal Fields
subset.mask

Subset, Split or Combine Mask Objects
subset.popn

Subset popn Object
speed

Speed Tips
subset.traps

Subset traps Object
suggest.buffer

Mask Buffer Width
stoatDNA

Stoat DNA Data
strip.legend

Colour Strip Legend
sort.capthist

Sort Rows of capthist or mask Object
spacing

Detector or Mask Spacing
timevaryingcov

Time-varying Covariates
Trend

Density Trend
traps.info

Detector Attributes
transformations

Transform Point Array
summary.capthist

Summarise Detections
summary.popn

Summarise Simulated Population
summary.traps

Summarise Detector Array
subset.capthist

Subset or Split capthist Object
usage

Detector Usage
trim

Drop Unwanted List Components
summary.mask

Summarise Habitat Mask
Troubleshooting

Problems in Fitting SECR Models
usagePlot

Plot usage, detections or sightings.
write.captures

Write Data to Text File
turnover

Specifying a Dynamic Population
trap.builder

Complex Detector Layouts
userdist

Non-Euclidean Distances
utility

Utility Functions
traps

Detector Array
vcov.secr

Variance - Covariance Matrix of SECR Parameters
writeGPS

Upload to GPS
updateCH

Update Old capthist Format
verify

Check SECR Data
AIC.secr

Compare SECR Models
CV

Coefficient of Variation
Dsurface

Density Surfaces
AICcompatible

Model Compatibility
Fletcher.chat

Estimate overdispersion
read.capthist

Import or export data
D.designdata

Construct Density Design Data
LLsurface

Plot Likelihood Surface
BUGS

Convert Data To Or From BUGS Format