Learn R Programming

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

secr (version 4.6.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

2,124

Version

4.6.10

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 22nd, 2024

Functions in secr (4.6.10)

FAQ

Frequently Asked Questions, And Others
AICcompatible

Model Compatibility
Dsurface

Density Surfaces
CV

Coefficient of Variation
AIC.secr

Compare SECR Models
addCovariates

Add Covariates to Mask or Traps
Parallel

Multi-core Processing
RSE

RSE from Fitted Model
RMarkInput

Convert Data to RMark Input Format
addTelemetry

Combine Telemetry and Detection Data
PG

Telemetry Fixes in Polygons
Rsurface

Smoothed Resource Surface
LR.test

Likelihood Ratio Test
addSightings

Mark-resight Data
OVpossum

Orongorongo Valley Brushtail Possums
clone

Replicate Rows
binCovariate

Add Binned Covariate
as.mask

Coerce traps object to mask
capthist.parts

Dissect Spatial Capture History Object
autoini

Initial Parameter Values for SECR
chat

Overdispersion of Activity Centres
circular

Circular Probability
as.data.frame

Coerce capthist to Data Frame or Array
capthist

Spatial Capture History Object
as.popn

Coerce ppp object to popn
collate

Array of Parameter Estimates
cluster

Detector Clustering
confint.secr

Profile Likelihood Confidence Intervals
housemouse

House mouse live trapping data
covariates

Covariates Attribute
deermouse

Deermouse Live-trapping Datasets
contour

Contour Detection Probability
closure.test

Closure tests
coef.secr

Coefficients of secr Object
closedN

Closed population estimates
deleteMaskPoints

Edit Mask Points
deviance

Deviance of fitted secr model and residual degrees of freedom
detector

Detector Type
discretize

Rasterize Area Search or Transect Data
derived

Derived Parameters of Fitted SECR Model
distancetotrap

Distance To Nearest Detector
details

Detail Specification for secr.fit
ellipse.secr

Confidence Ellipses
detectfn

Detection Functions
empirical.varD

Empirical Variance of H-T Density Estimate
head

First or Last Part of an Object
extractMoves

Simulated Movements
fx.total

Activity Centres of Detected and Undetected Animals
fxi

Probability Density of Home Range Centre
expected.n

Expected Number of Individuals
homerange

Home Range Statistics
esa.plot

Mask Buffer Diagnostic Plot
gridCells

Construct Grid Cells
esa.plot.secr

Mask Buffer Diagnostic Plot (internal)
hcov

Hybrid Mixture Model
logmultinom

Multinomial Coefficient of SECR Likelihood
kfn

Overlap Index
list.secr.fit

Fit Multiple SECR Models
logit

Logit Transformation
join

Combine or Split Sessions of capthist Object
make.lacework

Construct Lacework Detector Design
hornedlizard

Flat-tailed Horned Lizard Dataset
make.capthist

Construct capthist Object
make.spcosa

Construct Spatial Coverage Design
make.mask

Build Habitat Mask
make.tri

Build Detector Array on Triangular or Hexagonal Grid
makeStart

Initial Parameter Values
intervals

Work with Open Population data
make.systematic

Construct Systematic Detector Design
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
mask.check

Mask Diagnostics
make.traps

Build Detector Array
mask

Mask Object
occasionKey

Key to Petal Plot
plot.popn

Plot Population Object
plot.traps

Plot traps Object
ovensong

Ovenbird Acoustic Dataset
nontarget

Non-target Data
ms

Multi-session Objects
plot.capthist

Plot Detection Histories
plot.mask

Plot Habitat Mask, Density or Resource Surface
plot.secr

Plot Detection Functions
plotMaskEdge

Outline Around Mask Cells
pmixProfileLL

Mixture Model Check
pointsInPolygon

Points Inside Polygon
predictDsurface

Predict Density Surface
polyarea

Area of Polygon(s)
ovenbird

Ovenbird Mist-netting Dataset
predict.secr

SECR Model Predictions
print.secr

Print or Summarise secr Object
print.traps

Print Detectors
pdot

Net Detection Probability
possum

Brushtail Possum Trapping Dataset
popn

Population Object
raster

Create a RasterLayer Object from Mask or Dsurface
randomHabitat

Random Landscape
reduce

Combine Columns
rectangularMask

Rectangular Mask
read.telemetry

Import Telemetry Fixes
print.capthist

Print Detections
read.traps

Read Detector Data From File
rbind.capthist

Combine capthist Objects
rbind.popn

Combine popn Objects
rbind.traps

Combine traps Objects
read.mask

Read Habitat Mask From File
secr-defunct

Defunct Functions in Package secr
region.N

Population Size
secr.fit

Spatially Explicit Capture--Recapture
secr-package

Spatially Explicit Capture--Recapture Models
newdata

Create Default Design Data
score.test

Score Test for SECR Models
secr.design.MS

Construct Detection Model Design Matrices and Lookups
reduce.capthist

Combine Occasions Or Detectors
secr-deprecated

Deprecated Functions in Package secr
Internal

Internal Functions
secrtest

Goodness-of-fit Test Results
setNumThreads

Number of Threads
secrRNG

Random Number Seed
sighting

Sighting Attributes
signal

Signal Fields
session

Session Vector
secr.test

Goodness-of-Fit Test
signalmatrix

Reformat Signal Data
shareFactorLevels

Fix Inconsistent Covariates
secrdemo

SECR Models Fitted to Demonstration Data
skink

Skink Pitfall Data
stoatDNA

Stoat DNA Data
sort.capthist

Sort Rows of capthist or mask Object
speed

Speed Tips
snip

Slice Transect Into Shorter Sections
smooths

Smooth Terms in SECR Models
spacing

Detector or Mask Spacing
sim.capthist

Simulate Detection Histories
sim.secr

Simulate From Fitted secr Model
subset.capthist

Subset or Split capthist Object
summary.popn

Summarise Simulated Population
subset.traps

Subset traps Object
sim.popn

Simulate 2-D Population
summary.mask

Summarise Habitat Mask
subset.mask

Subset, Split or Combine Mask Objects
summary.traps

Summarise Detector Array
subset.popn

Subset popn Object
suggest.buffer

Mask Buffer Width
summary.capthist

Summarise Detections
strip.legend

Colour Strip Legend
traps.info

Detector Attributes
updateCH

Update Old capthist Format
turnover

Specifying a Dynamic Population
timevaryingcov

Time-varying Covariates
Troubleshooting

Problems in Fitting SECR Models
trim

Drop Unwanted List Components
transformations

Transform Point Array
Trend

Density Trend
traps

Detector Array
trap.builder

Complex Detector Layouts
utility

Utility Functions
usagePlot

Plot usage, detections or sightings.
usage

Detector Usage
vcov.secr

Variance - Covariance Matrix of SECR Parameters
userdist

Non-Euclidean Distances
write.captures

Write Data to Text File
writeGPS

Upload to GPS
verify

Check SECR Data
D.designdata

Construct Density Design Data
Fletcher.chat

Estimate overdispersion
LLsurface

Plot Likelihood Surface
BUGS

Convert Data To Or From BUGS Format
read.capthist

Import or export data