Learn R Programming

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

secr (version 4.6.9)

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

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 29th, 2024

Functions in secr (4.6.9)

BUGS

Convert Data To Or From BUGS Format
AIC.secr

Compare SECR Models
LR.test

Likelihood Ratio Test
AICcompatible

Model Compatibility
OVpossum

Orongorongo Valley Brushtail Possums
read.capthist

Import or export data
RMarkInput

Convert Data to RMark Input Format
D.designdata

Construct Density Design Data
RSE

RSE from Fitted Model
CV

Coefficient of Variation
PG

Telemetry Fixes in Polygons
Parallel

Multi-core Processing
addSightings

Mark-resight Data
Rsurface

Smoothed Resource Surface
binCovariate

Add Binned Covariate
deermouse

Deermouse Live-trapping Datasets
circular

Circular Probability
capthist

Spatial Capture History Object
covariates

Covariates Attribute
as.popn

Coerce ppp object to popn
addCovariates

Add Covariates to Mask or Traps
addTelemetry

Combine Telemetry and Detection Data
clone

Replicate Rows
autoini

Initial Parameter Values for SECR
chat

Overdispersion of Activity Centres
capthist.parts

Dissect Spatial Capture History Object
coef.secr

Coefficients of secr Object
cluster

Detector Clustering
deleteMaskPoints

Edit Mask Points
collate

Array of Parameter Estimates
as.mask

Coerce traps object to mask
as.data.frame

Coerce capthist to Data Frame
confint.secr

Profile Likelihood Confidence Intervals
ellipse.secr

Confidence Ellipses
derived

Derived Parameters of Fitted SECR Model
hcov

Hybrid Mixture Model
empirical.varD

Empirical Variance of H-T Density Estimate
gridCells

Construct Grid Cells
esa.plot

Mask Buffer Diagnostic Plot
closure.test

Closure tests
closedN

Closed population estimates
hornedlizard

Flat-tailed Horned Lizard Dataset
esa.plot.secr

Mask Buffer Diagnostic Plot (internal)
distancetotrap

Distance To Nearest Detector
discretize

Rasterize Area Search or Transect Data
logit

Logit Transformation
intervals

Work with Open Population data
join

Combine or Split Sessions of capthist Object
logmultinom

Multinomial Coefficient of SECR Likelihood
fx.total

Activity Centres of Detected and Undetected Animals
fxi

Probability Density of Home Range Centre
mask

Mask Object
contour

Contour Detection Probability
housemouse

House mouse live trapping data
detector

Detector Type
plot.popn

Plot Population Object
deviance

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

Plot Detection Functions
polyarea

Area of Polygon(s)
expected.n

Expected Number of Individuals
details

Detail Specification for secr.fit
ms

Multi-session Objects
make.capthist

Construct capthist Object
popn

Population Object
makeStart

Initial Parameter Values
make.lacework

Construct Lacework Detector Design
make.tri

Build Detector Array on Triangular or Hexagonal Grid
extractMoves

Simulated Movements
kfn

Overlap Index
detectfn

Detection Functions
nontarget

Non-target Data
head

First or Last Part of an Object
occasionKey

Key to Petal Plot
rbind.capthist

Combine capthist Objects
rbind.popn

Combine popn Objects
list.secr.fit

Fit Multiple SECR Models
rbind.traps

Combine traps Objects
read.mask

Read Habitat Mask From File
make.spcosa

Construct Spatial Coverage Design
make.mask

Build Habitat Mask
homerange

Home Range Statistics
mask.check

Mask Diagnostics
ovenbird

Ovenbird Mist-netting Dataset
region.N

Population Size
make.traps

Build Detector Array
make.systematic

Construct Systematic Detector Design
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
reduce.capthist

Combine Occasions Or Detectors
predictDsurface

Predict Density Surface
pdot

Net Detection Probability
print.capthist

Print Detections
signal

Signal Fields
ovensong

Ovenbird Acoustic Dataset
secr-package

Spatially Explicit Capture--Recapture Models
signalmatrix

Reformat Signal Data
secr.design.MS

Construct Detection Model Design Matrices and Lookups
secrtest

Goodness-of-fit Test Results
secrdemo

SECR Models Fitted to Demonstration Data
possum

Brushtail Possum Trapping Dataset
plot.traps

Plot traps Object
plotMaskEdge

Outline Around Mask Cells
read.traps

Read Detector Data From File
print.traps

Print Detectors
print.secr

Print or Summarise secr Object
read.telemetry

Import Telemetry Fixes
spacing

Detector or Mask Spacing
secr-defunct

Defunct Functions in Package secr
sim.secr

Simulate From Fitted secr Model
skink

Skink Pitfall Data
score.test

Score Test for SECR Models
sort.capthist

Sort Rows of capthist or mask Object
shareFactorLevels

Fix Inconsistent Covariates
rectangularMask

Rectangular Mask
plot.capthist

Plot Detection Histories
summary.popn

Summarise Simulated Population
predict.secr

SECR Model Predictions
plot.mask

Plot Habitat Mask, Density or Resource Surface
pmixProfileLL

Mixture Model Check
pointsInPolygon

Points Inside Polygon
summary.traps

Summarise Detector Array
summary.capthist

Summarise Detections
randomHabitat

Random Landscape
subset.mask

Subset, Split or Combine Mask Objects
raster

Create a RasterLayer Object from Mask or Dsurface
subset.popn

Subset popn Object
transformations

Transform Point Array
summary.mask

Summarise Habitat Mask
timevaryingcov

Time-varying Covariates
turnover

Specifying a Dynamic Population
smooths

Smooth Terms in SECR Models
secr.test

Goodness-of-Fit Test
sighting

Sighting Attributes
snip

Slice Transect Into Shorter Sections
Internal

Internal Functions
secr-deprecated

Deprecated Functions in Package secr
secrRNG

Random Number Seed
reduce

Combine Columns
updateCH

Update Old capthist Format
write.captures

Write Data to Text File
secr.fit

Spatially Explicit Capture--Recapture
writeGPS

Upload to GPS
speed

Speed Tips
stoatDNA

Stoat DNA Data
trap.builder

Complex Detector Layouts
traps

Detector Array
setNumThreads

Number of Threads
session

Session Vector
strip.legend

Colour Strip Legend
newdata

Create Default Design Data
subset.capthist

Subset or Split capthist Object
traps.info

Detector Attributes
vcov.secr

Variance - Covariance Matrix of SECR Parameters
Trend

Density Trend
sim.capthist

Simulate Detection Histories
sim.popn

Simulate 2-D Population
usage

Detector Usage
suggest.buffer

Mask Buffer Width
userdist

Non-Euclidean Distances
usagePlot

Plot usage, detections or sightings.
utility

Utility Functions
verify

Check SECR Data
trim

Drop Unwanted List Components
Troubleshooting

Problems in Fitting SECR Models
subset.traps

Subset traps Object
FAQ

Frequently Asked Questions, And Others
Fletcher.chat

Estimate overdispersion
LLsurface

Plot Likelihood Surface
Dsurface

Density Surfaces