Learn R Programming

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

secr (version 4.6.6)

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

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Murray Efford

Last Published

February 29th, 2024

Functions in secr (4.6.6)

Dsurface

Density Surfaces
CV

Coefficient of Variation
Fletcher.chat

Estimate overdispersion
AICcompatible

Model Compatibility
FAQ

Frequently Asked Questions, And Others
read.capthist

Import or export data
D.designdata

Construct Density Design Data
BUGS

Convert Data To Or From BUGS Format
LLsurface

Plot Likelihood Surface
AIC.secr

Compare SECR Models
RMarkInput

Convert Data to RMark Input Format
Parallel

Multi-core Processing
RSE

RSE from Fitted Model
PG

Telemetry Fixes in Polygons
Rsurface

Smoothed Resource Surface
LR.test

Likelihood Ratio Test
addTelemetry

Combine Telemetry and Detection Data
addCovariates

Add Covariates to Mask or Traps
addSightings

Mark-resight Data
OVpossum

Orongorongo Valley Brushtail Possums
binCovariate

Add Binned Covariate
capthist.parts

Dissect Spatial Capture History Object
capthist

Spatial Capture History Object
as.popn

Coerce ppp object to popn
circular

Circular Probability
as.mask

Coerce traps object to mask
as.data.frame

Coerce capthist to Data Frame
autoini

Initial Parameter Values for SECR
clone

Replicate Rows
closedN

Closed population estimates
covariates

Covariates Attribute
chat

Overdispersion of Activity Centres
collate

Array of Parameter Estimates
coef.secr

Coefficients of secr Object
cluster

Detector Clustering
deermouse

Deermouse Live-trapping Datasets
contour

Contour Detection Probability
housemouse

House mouse live trapping data
confint.secr

Profile Likelihood Confidence Intervals
closure.test

Closure tests
deleteMaskPoints

Edit Mask Points
discretize

Rasterize Area Search or Transect Data
distancetotrap

Distance To Nearest Detector
derived

Derived Parameters of Fitted SECR Model
detectfn

Detection Functions
ellipse.secr

Confidence Ellipses
deviance

Deviance of fitted secr model and residual degrees of freedom
empirical.varD

Empirical Variance of H-T Density Estimate
details

Detail Specification for secr.fit
detector

Detector Type
homerange

Home Range Statistics
extractMoves

Simulated Movements
gridCells

Construct Grid Cells
expected.n

Expected Number of Individuals
fx.total

Activity Centres of Detected and Undetected Animals
head

First or Last Part of an Object
esa.plot

Mask Buffer Diagnostic Plot
esa.plot.secr

Mask Buffer Diagnostic Plot (internal)
fxi

Probability Density of Home Range Centre
hcov

Hybrid Mixture Model
logit

Logit Transformation
kfn

Overlap Index
hornedlizard

Flat-tailed Horned Lizard Dataset
make.capthist

Construct capthist Object
logmultinom

Multinomial Coefficient of SECR Likelihood
make.mask

Build Habitat Mask
make.systematic

Construct Systematic Detector Design
list.secr.fit

Fit Multiple SECR Models
join

Combine or Split Sessions of capthist Object
make.lacework

Construct Lacework Detector Design
makeStart

Initial Parameter Values
make.traps

Build Detector Array
intervals

Work with Open Population data
make.tri

Build Detector Array on Triangular or Hexagonal Grid
ms

Multi-session Objects
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
nontarget

Non-target Data
occasionKey

Key to Petal Plot
plotMaskEdge

Outline Around Mask Cells
plot.traps

Plot traps Object
plot.popn

Plot Population Object
plot.secr

Plot Detection Functions
mask.check

Mask Diagnostics
ovenbird

Ovenbird Mist-netting Dataset
pdot

Net Detection Probability
plot.capthist

Plot Detection Histories
pmixProfileLL

Mixture Model Check
mask

Mask Object
ovensong

Ovenbird Acoustic Dataset
plot.mask

Plot Habitat Mask, Density or Resource Surface
popn

Population Object
pointsInPolygon

Points Inside Polygon
possum

Brushtail Possum Trapping Dataset
predict.secr

SECR Model Predictions
randomHabitat

Random Landscape
polyarea

Area of Polygon(s)
print.traps

Print Detectors
print.secr

Print or Summarise secr Object
print.capthist

Print Detections
predictDsurface

Predict Density Surface
rbind.popn

Combine popn Objects
read.mask

Read Habitat Mask From File
reduce

Combine Columns
rbind.capthist

Combine capthist Objects
reduce.capthist

Combine Occasions Or Detectors
rbind.traps

Combine traps Objects
rectangularMask

Rectangular Mask
read.traps

Read Detector Data From File
raster

Create a RasterLayer Object from Mask or Dsurface
read.telemetry

Import Telemetry Fixes
secr-defunct

Defunct Functions in Package secr
newdata

Create Default Design Data
secr.design.MS

Construct Detection Model Design Matrices and Lookups
Internal

Internal Functions
secr-package

Spatially Explicit Capture--Recapture Models
secr.test

Goodness-of-Fit Test
score.test

Score Test for SECR Models
region.N

Population Size
setNumThreads

Number of Threads
secr-deprecated

Deprecated Functions in Package secr
shareFactorLevels

Fix Inconsistent Covariates
secrdemo

SECR Models Fitted to Demonstration Data
sighting

Sighting Attributes
signal

Signal Fields
signalmatrix

Reformat Signal Data
sim.capthist

Simulate Detection Histories
secrtest

Goodness-of-fit Test Results
secr.fit

Spatially Explicit Capture--Recapture
session

Session Vector
secrRNG

Random Number Seed
stoatDNA

Stoat DNA Data
snip

Slice Transect Into Shorter Sections
spacing

Detector or Mask Spacing
sim.popn

Simulate 2-D Population
sim.secr

Simulate From Fitted secr Model
sort.capthist

Sort Rows of capthist or mask Object
speed

Speed Tips
strip.legend

Colour Strip Legend
subset.capthist

Subset or Split capthist Object
subset.mask

Subset, Split or Combine Mask Objects
subset.popn

Subset popn Object
subset.traps

Subset traps Object
skink

Skink Pitfall Data
suggest.buffer

Mask Buffer Width
smooths

Smooth Terms in SECR Models
summary.capthist

Summarise Detections
timevaryingcov

Time-varying Covariates
summary.traps

Summarise Detector Array
updateCH

Update Old capthist Format
turnover

Specifying a Dynamic Population
transformations

Transform Point Array
usage

Detector Usage
Trend

Density Trend
summary.popn

Summarise Simulated Population
summary.mask

Summarise Habitat Mask
Troubleshooting

Problems in Fitting SECR Models
traps.info

Detector Attributes
traps

Detector Array
trap.builder

Complex Detector Layouts
utility

Utility Functions
usagePlot

Plot usage, detections or sightings.
verify

Check SECR Data
trim

Drop Unwanted List Components
writeGPS

Upload to GPS
vcov.secr

Variance - Covariance Matrix of SECR Parameters
userdist

Non-Euclidean Distances
write.captures

Write Data to Text File