Learn R Programming

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

secr (version 4.6.1)

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

1,470

Version

4.6.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Murray Efford

Last Published

July 10th, 2023

Functions in secr (4.6.1)

AICcompatible

Model Compatibility
BUGS

Convert Data To Or From BUGS Format
AIC.secr

Compare SECR Models
Dsurface

Density Surfaces
Fletcher.chat

Estimate overdispersion
D.designdata

Construct Density Design Data
CV

Coefficient of Variation
read.capthist

Import or export data
FAQ

Frequently Asked Questions, And Others
LLsurface

Plot Likelihood Surface
addSightings

Mark-resight Data
Parallel

Multi-core Processing
PG

Telemetry Fixes in Polygons
RMarkInput

Convert Data to RMark Input Format
Rsurface

Smoothed Resource Surface
LR.test

Likelihood Ratio Test
addCovariates

Add Covariates to Mask or Traps
addTelemetry

Combine Telemetry and Detection Data
OVpossum

Orongorongo Valley Brushtail Possums
RSE

RSE from Fitted Model
as.data.frame

Coerce capthist to Data Frame
autoini

Initial Parameter Values for SECR
circular

Circular Probability
closure.test

Closure tests
clone

Replicate Rows
closedN

Closed population estimates
capthist

Spatial Capture History Object
as.mask

Coerce traps object to mask
contour

Contour Detection Probability
covariates

Covariates Attribute
housemouse

House mouse live trapping data
capthist.parts

Dissect Spatial Capture History Object
cluster

Detector Clustering
collate

Array of Parameter Estimates
deermouse

Deermouse Live-trapping Datasets
confint.secr

Profile Likelihood Confidence Intervals
coef.secr

Coefficients of secr Object
deleteMaskPoints

Edit Mask Points
esa.plot

Mask Buffer Diagnostic Plot
discretize

Rasterize Area Search or Transect Data
chat

Overdispersion of Activity Centres
esa.plot.secr

Mask Buffer Diagnostic Plot (internal)
derived

Derived Parameters of Fitted SECR Model
detector

Detector Type
deviance

Deviance of fitted secr model and residual degrees of freedom
details

Detail Specification for secr.fit
ellipse.secr

Confidence Ellipses
detectfn

Detection Functions
distancetotrap

Distance To Nearest Detector
empirical.varD

Empirical Variance of H-T Density Estimate
gridCells

Construct Grid Cells
homerange

Home Range Statistics
head

First or Last Part of an Object
fx.total

Activity Centres of Detected and Undetected Animals
fxi

Probability Density of Home Range Centre
expected.n

Expected Number of Individuals
extractMoves

Simulated Movements
hornedlizard

Flat-tailed Horned Lizard Dataset
join

Combine or Split Sessions of capthist Object
hcov

Hybrid Mixture Model
make.mask

Build Habitat Mask
make.systematic

Construct Systematic Detector Design
makeStart

Initial Parameter Values
make.capthist

Construct capthist Object
make.lacework

Construct Lacework Detector Design
logit

Logit Transformation
intervals

Work with Open Population data
make.traps

Build Detector Array
model.average-deprecated

Old Model Average Function
occasionKey

Key to Petal Plot
ms

Multi-session Objects
make.tri

Build Detector Array on Triangular or Hexagonal Grid
mask

Mask Object
ovenbird

Ovenbird Mist-netting Dataset
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
logmultinom

Multinomial Coefficient of SECR Likelihood
nontarget

Non-target Data
ovensong

Ovenbird Acoustic Dataset
par.secr.fit

Fit Multiple SECR Models
plot.traps

Plot traps Object
plot.secr

Plot Detection Functions
pointsInPolygon

Points Inside Polygon
mask.check

Mask Diagnostics
plotMaskEdge

Outline Around Mask Cells
pmixProfileLL

Mixture Model Check
pdot

Net Detection Probability
plot.mask

Plot Habitat Mask, Density or Resource Surface
plot.capthist

Plot Detection Histories
polyarea

Area of Polygon(s)
predict.secr

SECR Model Predictions
raster

Create a RasterLayer Object from Mask or Dsurface
plot.popn

Plot Population Object
possum

Brushtail Possum Trapping Dataset
rbind.capthist

Combine capthist Objects
popn

Population Object
predictDsurface

Predict Density Surface
print.capthist

Print Detections
read.mask

Read Habitat Mask From File
rbind.popn

Combine popn Objects
read.telemetry

Import Telemetry Fixes
print.traps

Print Detectors
print.secr

Print or Summarise secr Object
read.traps

Read Detector Data From File
rbind.traps

Combine traps Objects
region.N

Population Size
score.test

Score Test for SECR Models
randomHabitat

Random Landscape
reduce

Combine Columns
rectangularMask

Rectangular Mask
secr-defunct

Defunct Functions in Package secr
newdata

Create Default Design Data
secr-deprecated

Deprecated Functions in Package secr
reduce.capthist

Combine Occasions Or Detectors
secrRNG

Random Number Seed
secr.test

Goodness-of-Fit Test
secr.design.MS

Construct Detection Model Design Matrices and Lookups
secrdemo

SECR Models Fitted to Demonstration Data
secr.fit

Spatially Explicit Capture--Recapture
Internal

Internal Functions
secr-package

Spatially Explicit Capture--Recapture Models
setNumThreads

Number of Threads
signalmatrix

Reformat Signal Data
secrtest

Goodness-of-fit Test Results
shareFactorLevels

Fix Inconsistent Covariates
session

Session Vector
sighting

Sighting Attributes
signal

Signal Fields
sim.capthist

Simulate Detection Histories
sim.popn

Simulate 2-D Population
stoatDNA

Stoat DNA Data
skink

Skink Pitfall Data
sim.secr

Simulate From Fitted secr Model
snip

Slice Transect Into Shorter Sections
spacing

Detector or Mask Spacing
speed

Speed Tips
subset.capthist

Subset or Split capthist Object
smooths

Smooth Terms in SECR Models
subset.mask

Subset, Split or Combine Mask Objects
strip.legend

Colour Strip Legend
sort.capthist

Sort Rows of capthist or mask Object
transformations

Transform Point Array
summary.traps

Summarise Detector Array
summary.mask

Summarise Habitat Mask
trap.builder

Complex Detector Layouts
summary.capthist

Summarise Detections
subset.traps

Subset traps Object
subset.popn

Subset popn Object
suggest.buffer

Mask Buffer Width
timevaryingcov

Time-varying Covariates
summary.popn

Summarise Simulated Population
usagePlot

Plot usage, detections or sightings.
usage

Detector Usage
Troubleshooting

Problems in Fitting SECR Models
turnover

Specifying a Dynamic Population
traps

Detector Array
trim

Drop Unwanted List Components
traps.info

Detector Attributes
userdist

Non-Euclidean Distances
updateCH

Update Old capthist Format
write.captures

Write Data to Text File
writeGPS

Upload to GPS
utility

Utility Functions
vcov.secr

Variance - Covariance Matrix of SECR Parameters
verify

Check SECR Data