Learn R Programming

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

secr (version 4.5.8)

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,427

Version

4.5.8

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Murray Efford

Last Published

November 29th, 2022

Functions in secr (4.5.8)

LLsurface

Plot Likelihood Surface
CV

Coefficient of Variation
D.designdata

Construct Density Design Data
AIC.secr

Compare SECR Models
BUGS

Convert Data To Or From BUGS Format
LR.test

Likelihood Ratio Test
Dsurface

Density Surfaces
FAQ

Frequently Asked Questions, And Others
addCovariates

Add Covariates to Mask or Traps
addSightings

Mark-resight Data
Parallel

Multi-core Processing
AICcompatible

Model Compatibility
RSE

RSE from Fitted Model
read.capthist

Import or export data
RMarkInput

Convert Data to RMark Input Format
Rsurface

Smoothed Resource Surface
as.mask

Coerce traps object to mask
addTelemetry

Combine Telemetry and Detection Data
chat

Overdispersion of Activity Centres
closure.test

Closure tests
OVpossum

Orongorongo Valley Brushtail Possums
as.data.frame

Coerce capthist to Data Frame
capthist

Spatial Capture History Object
autoini

Initial Parameter Values for SECR
cluster

Detector Clustering
clone

Replicate Rows
circular

Circular Probability
capthist.parts

Dissect Spatial Capture History Object
deleteMaskPoints

Edit Mask Points
details

Detail Specification for secr.fit
closedN

Closed population estimates
PG

Telemetry Fixes in Polygons
derived

Derived Parameters of Fitted SECR Model
contour

Contour Detection Probability
discretize

Rasterize Area Search or Transect Data
distancetotrap

Distance To Nearest Detector
coef.secr

Coefficients of secr Object
covariates

Covariates Attribute
detectfn

Detection Functions
deermouse

Deermouse Live-trapping Datasets
confint.secr

Profile Likelihood Confidence Intervals
hornedlizard

Flat-tailed Horned Lizard Dataset
esa.plot

Mask Buffer Diagnostic Plot
expected.n

Expected Number of Individuals
housemouse

House mouse live trapping data
esa.plot.secr

Mask Buffer Diagnostic Plot (internal)
extractMoves

Simulated Movements
ellipse.secr

Confidence Ellipses
empirical.varD

Empirical Variance of H-T Density Estimate
ip.secr-deprecated

Deprecated Functions
detector

Detector Type
fx.total

Activity Centres of Detected and Undetected Animals
fxi

Probability Density of Home Range Centre
logit

Logit Transformation
join

Combine or Split Sessions of capthist Object
make.tri

Build Detector Array on Triangular or Hexagonal Grid
make.lacework

Construct Lacework Detector Design
deviance

Deviance of fitted secr model and residual degrees of freedom
makeStart

Initial Parameter Values
head

First or Last Part of an Object
homerange

Home Range Statistics
gridCells

Construct Grid Cells
intervals

Work with Open Population data
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
nontarget

Non-target Data
ms

Multi-session Objects
plot.capthist

Plot Detection Histories
make.mask

Build Habitat Mask
occasionKey

Key to Petal Plot
hcov

Hybrid Mixture Model
logmultinom

Multinomial Coefficient of SECR Likelihood
mask

Mask Object
make.capthist

Construct capthist Object
par.secr.fit

Fit Multiple SECR Models
read.telemetry

Import Telemetry Fixes
mask.check

Mask Diagnostics
ovenbird

Ovenbird Mist-netting Dataset
plot.mask

Plot Habitat Mask, Density or Resource Surface
model.average-deprecated

Old Model Average Function
make.systematic

Construct Systematic Detector Design
ovensong

Ovenbird Acoustic Dataset
read.traps

Read Detector Data From File
make.traps

Build Detector Array
secr.fit

Spatially Explicit Capture--Recapture
plot.traps

Plot traps Object
newdata

Create Default Design Data
predictDsurface

Predict Density Surface
score.test

Score Test for SECR Models
print.capthist

Print Detections
pdot

Net Detection Probability
shareFactorLevels

Fix Inconsistent Covariates
pmixProfileLL

Mixture Model Check
plotMaskEdge

Outline Around Mask Cells
secr-defunct

Defunct Functions in Package secr
polyarea

Area of Polygon(s)
pointsInPolygon

Points Inside Polygon
sighting

Sighting Attributes
subset.mask

Subset, Split or Combine Mask Objects
popn

Population Object
subset.popn

Subset popn Object
plot.popn

Plot Population Object
rbind.capthist

Combine capthist Objects
rbind.popn

Combine popn Objects
randomHabitat

Random Landscape
secr-deprecated

Deprecated Functions in Package secr
traps.info

Detector Attributes
raster

Create a RasterLayer Object from Mask or Dsurface
reduce.capthist

Combine Occasions Or Detectors
possum

Brushtail Possum Trapping Dataset
secrdemo

SECR Models Fitted to Demonstration Data
plot.secr

Plot Detection Functions
predict.secr

SECR Model Predictions
print.secr

Print or Summarise secr Object
region.N

Population Size
secr-package

Spatially Explicit Capture--Recapture Models
trim

Drop Unwanted List Components
secrtest

Goodness-of-fit Test Results
sim.capthist

Simulate Detection Histories
Internal

Internal Functions
secr.design.MS

Construct Detection Model Design Matrices and Lookups
sim.popn

Simulate 2-D Population
rectangularMask

Rectangular Mask
summary.popn

Summarise Simulated Population
summary.traps

Summarise Detector Array
print.traps

Print Detectors
reduce

Combine Columns
verify

Check SECR Data
updateCH

Update Old capthist Format
secr.test

Goodness-of-Fit Test
secrRNG

Random Number Seed
session

Session Vector
usage

Detector Usage
strip.legend

Colour Strip Legend
signal

Signal Fields
signalmatrix

Reformat Signal Data
subset.capthist

Subset or Split capthist Object
sort.capthist

Sort Rows of capthist or mask Object
write.captures

Write Data to Text File
summary.capthist

Summarise Detections
rbind.traps

Combine traps Objects
summary.mask

Summarise Habitat Mask
utility

Utility Functions
read.mask

Read Habitat Mask From File
setNumThreads

Number of Threads
vcov.secr

Variance - Covariance Matrix of SECR Parameters
spacing

Detector or Mask Spacing
smooths

Smooth Terms in SECR Models
sim.secr

Simulate From Fitted secr Model
skink

Skink Pitfall Data
timevaryingcov

Time-varying Covariates
speed

Speed Tips
transformations

Transform Point Array
stoatDNA

Stoat DNA Data
Troubleshooting

Problems in Fitting SECR Models
trap.builder

Complex Detector Layouts
traps

Detector Array
usagePlot

Plot usage, detections or sightings.
userdist

Non-Euclidean Distances
turnover

Specifying a Dynamic Population
snip

Slice Transect Into Shorter Sections
subset.traps

Subset traps Object
suggest.buffer

Mask Buffer Width
writeGPS

Upload to GPS