Learn R Programming

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

secr (version 4.5.10)

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.5.10

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Murray Efford

Last Published

March 10th, 2023

Functions in secr (4.5.10)

LLsurface

Plot Likelihood Surface
FAQ

Frequently Asked Questions, And Others
CV

Coefficient of Variation
LR.test

Likelihood Ratio Test
AICcompatible

Model Compatibility
D.designdata

Construct Density Design Data
read.capthist

Import or export data
as.data.frame

Coerce capthist to Data Frame
Parallel

Multi-core Processing
addCovariates

Add Covariates to Mask or Traps
PG

Telemetry Fixes in Polygons
Rsurface

Smoothed Resource Surface
OVpossum

Orongorongo Valley Brushtail Possums
RMarkInput

Convert Data to RMark Input Format
RSE

RSE from Fitted Model
addSightings

Mark-resight Data
addTelemetry

Combine Telemetry and Detection Data
chat

Overdispersion of Activity Centres
capthist.parts

Dissect Spatial Capture History Object
closure.test

Closure tests
capthist

Spatial Capture History Object
circular

Circular Probability
closedN

Closed population estimates
autoini

Initial Parameter Values for SECR
as.mask

Coerce traps object to mask
cluster

Detector Clustering
clone

Replicate Rows
deleteMaskPoints

Edit Mask Points
detectfn

Detection Functions
covariates

Covariates Attribute
coef.secr

Coefficients of secr Object
confint.secr

Profile Likelihood Confidence Intervals
housemouse

House mouse live trapping data
deermouse

Deermouse Live-trapping Datasets
contour

Contour Detection Probability
details

Detail Specification for secr.fit
derived

Derived Parameters of Fitted SECR Model
detector

Detector Type
extractMoves

Simulated Movements
discretize

Rasterize Area Search or Transect Data
esa.plot.secr

Mask Buffer Diagnostic Plot (internal)
deviance

Deviance of fitted secr model and residual degrees of freedom
esa.plot

Mask Buffer Diagnostic Plot
distancetotrap

Distance To Nearest Detector
expected.n

Expected Number of Individuals
ellipse.secr

Confidence Ellipses
empirical.varD

Empirical Variance of H-T Density Estimate
head

First or Last Part of an Object
gridCells

Construct Grid Cells
fxi

Probability Density of Home Range Centre
logit

Logit Transformation
logmultinom

Multinomial Coefficient of SECR Likelihood
homerange

Home Range Statistics
join

Combine or Split Sessions of capthist Object
hcov

Hybrid Mixture Model
fx.total

Activity Centres of Detected and Undetected Animals
hornedlizard

Flat-tailed Horned Lizard Dataset
mask.check

Mask Diagnostics
makeStart

Initial Parameter Values
make.systematic

Construct Systematic Detector Design
make.tri

Build Detector Array on Triangular or Hexagonal Grid
make.traps

Build Detector Array
intervals

Work with Open Population data
mask

Mask Object
make.mask

Build Habitat Mask
make.capthist

Construct capthist Object
make.lacework

Construct Lacework Detector Design
ms

Multi-session Objects
nontarget

Non-target Data
model.average-deprecated

Old Model Average Function
pdot

Net Detection Probability
ovensong

Ovenbird Acoustic Dataset
plot.capthist

Plot Detection Histories
ovenbird

Ovenbird Mist-netting Dataset
par.secr.fit

Fit Multiple SECR Models
occasionKey

Key to Petal Plot
possum

Brushtail Possum Trapping Dataset
pointsInPolygon

Points Inside Polygon
plot.popn

Plot Population Object
popn

Population Object
pmixProfileLL

Mixture Model Check
plotMaskEdge

Outline Around Mask Cells
polyarea

Area of Polygon(s)
plot.mask

Plot Habitat Mask, Density or Resource Surface
plot.traps

Plot traps Object
plot.secr

Plot Detection Functions
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
raster

Create a RasterLayer Object from Mask or Dsurface
randomHabitat

Random Landscape
print.secr

Print or Summarise secr Object
rbind.capthist

Combine capthist Objects
print.capthist

Print Detections
print.traps

Print Detectors
rbind.traps

Combine traps Objects
predict.secr

SECR Model Predictions
rbind.popn

Combine popn Objects
predictDsurface

Predict Density Surface
secr-defunct

Defunct Functions in Package secr
read.mask

Read Habitat Mask From File
rectangularMask

Rectangular Mask
region.N

Population Size
reduce

Combine Columns
secr-deprecated

Deprecated Functions in Package secr
reduce.capthist

Combine Occasions Or Detectors
score.test

Score Test for SECR Models
read.traps

Read Detector Data From File
read.telemetry

Import Telemetry Fixes
secr.design.MS

Construct Detection Model Design Matrices and Lookups
secrRNG

Random Number Seed
secrtest

Goodness-of-fit Test Results
newdata

Create Default Design Data
secrdemo

SECR Models Fitted to Demonstration Data
secr.test

Goodness-of-Fit Test
secr-package

Spatially Explicit Capture--Recapture Models
Internal

Internal Functions
secr.fit

Spatially Explicit Capture--Recapture
session

Session Vector
sim.secr

Simulate From Fitted secr Model
setNumThreads

Number of Threads
smooths

Smooth Terms in SECR Models
signalmatrix

Reformat Signal Data
signal

Signal Fields
skink

Skink Pitfall Data
sim.capthist

Simulate Detection Histories
sim.popn

Simulate 2-D Population
sighting

Sighting Attributes
shareFactorLevels

Fix Inconsistent Covariates
snip

Slice Transect Into Shorter Sections
stoatDNA

Stoat DNA Data
subset.traps

Subset traps Object
subset.mask

Subset, Split or Combine Mask Objects
subset.capthist

Subset or Split capthist Object
speed

Speed Tips
strip.legend

Colour Strip Legend
sort.capthist

Sort Rows of capthist or mask Object
spacing

Detector or Mask Spacing
subset.popn

Subset popn Object
suggest.buffer

Mask Buffer Width
transformations

Transform Point Array
summary.mask

Summarise Habitat Mask
summary.popn

Summarise Simulated Population
summary.traps

Summarise Detector Array
trap.builder

Complex Detector Layouts
traps.info

Detector Attributes
traps

Detector Array
timevaryingcov

Time-varying Covariates
summary.capthist

Summarise Detections
vcov.secr

Variance - Covariance Matrix of SECR Parameters
verify

Check SECR Data
Troubleshooting

Problems in Fitting SECR Models
usagePlot

Plot usage, detections or sightings.
userdist

Non-Euclidean Distances
turnover

Specifying a Dynamic Population
utility

Utility Functions
trim

Drop Unwanted List Components
updateCH

Update Old capthist Format
usage

Detector Usage
write.captures

Write Data to Text File
writeGPS

Upload to GPS
BUGS

Convert Data To Or From BUGS Format
AIC.secr

Compare SECR Models
Dsurface

Density Surfaces