Learn R Programming

secr (version 5.0.0)

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

5.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 2nd, 2024

Functions in secr (5.0.0)

Rsurface

Smoothed Resource Surface
PG

Telemetry Fixes in Polygons
plot.MCgof

Methods for MCgof Objects
LR.test

Likelihood Ratio Test
RMarkInput

Convert Data to RMark Input Format
OVpossum

Orongorongo Valley Brushtail Possums
MCgof

Monte Carlo Goodness-of-fit for SECR Models
Parallel

Multi-core Processing
addCovariates

Add Covariates to Mask or Traps
RSE

RSE from Fitted Model
capthist

Spatial Capture History Object
addSightings

Mark-resight Data
blackbear

Black Bear Hair Snag Dataset
as.mask

Coerce traps object to mask
as.data.frame

Coerce capthist to Data Frame or Array
binCovariate

Add Binned Covariate
autoini

Initial Parameter Values for SECR
as.popn

Coerce ppp object to popn
addTelemetry

Combine Telemetry and Detection Data
capthist.parts

Dissect Spatial Capture History Object
contour

Contour Detection Probability
clone

Replicate Rows
confint.secr

Profile Likelihood Confidence Intervals
closure.test

Closure tests
circular

Circular Probability
cluster

Detector Clustering
coef.secr

Coefficients of secr Object
collate

Array of Parameter Estimates
chat

Overdispersion of Activity Centres
closedN

Closed population estimates
deviance

Deviance of fitted secr model and residual degrees of freedom
deermouse

Deermouse Live-trapping Datasets
detectfn

Detection Functions
detector

Detector Type
housemouse

House mouse live trapping data
details

Detail Specification for secr.fit
derived

Derived Parameters of Fitted SECR Model
deleteMaskPoints

Edit Mask Points
discretize

Rasterize Area Search or Transect Data
covariates

Covariates Attribute
empirical.varD

Empirical Variance of H-T Density Estimate
expected.n

Expected Number of Individuals
gridCells

Construct Grid Cells
fxTotal

Activity Centres of Detected and Undetected Animals
distancetotrap

Distance To Nearest Detector
ellipse.secr

Confidence Ellipses
extractMoves

Simulated Movements
hcov

Hybrid Mixture Model
esaPlot

Mask Buffer Diagnostic Plot
list.secr.fit

Fit Multiple SECR Models
kfn

Overlap Index
hornedlizard

Flat-tailed Horned Lizard Dataset
fxi

Probability Density of Activity Centre
join

Combine or Split Sessions of capthist Object
homerange

Home Range Statistics
head

First or Last Part of an Object
logit

Logit Transformation
logmultinom

Multinomial Coefficient of SECR Likelihood
make.capthist

Construct capthist Object
make.lacework

Construct Lacework Detector Design
makeStart

Initial Parameter Values
make.systematic

Construct Systematic Detector Design
make.spcosa

Construct Spatial Coverage Design
make.mask

Build Habitat Mask
make.tri

Build Detector Array on Triangular or Hexagonal Grid
newdata

Create Default Design Data
mask

Mask Object
mask.check

Mask Diagnostics
intervals

Work with Open Population data
make.traps

Build Detector Array
pdot

Net Detection Probability
plot.capthist

Plot Detection Histories
nontarget

Non-target Data
ovensong

Ovenbird Acoustic Dataset
ovenbird

Ovenbird Mist-netting Dataset
plot.mask

Plot Habitat Mask, Density or Resource Surface
plot.popn

Plot Population Object
occasionKey

Key to Petal Plot
plot.secr

Plot Detection Functions
plot.traps

Plot traps Object
possum

Brushtail Possum Trapping Dataset
popn

Population Object
predict.secr

SECR Model Predictions
predictDsurface

Predict Density Surface
plotMaskEdge

Outline Around Mask Cells
raster

Create a RasterLayer Object from Mask or Dsurface
pmixProfileLL

Mixture Model Check
rbind.popn

Combine popn Objects
rbind.traps

Combine traps Objects
print.capthist

Print Detections
print.secr

Print or Summarise secr Object
read.telemetry

Import Telemetry Fixes
read.mask

Read Habitat Mask From File
rbind.capthist

Combine capthist Objects
secr-defunct

Defunct Functions in Package secr
region.N

Population Size
read.traps

Read Detector Data From File
secr-deprecated

Deprecated Functions in Package secr
Internal

Internal Functions
pointsInPolygon

Points Inside Polygon
ms

Multi-session Objects
print.traps

Print Detectors
randomHabitat

Random Landscape
modelAverage

Averaging of SECR Models Using Akaike's Information Criterion
polyarea

Area of Polygon(s)
reduce.capthist

Combine Occasions Or Detectors
reduce

Combine Columns
rectangularMask

Rectangular Mask
secr-package

Spatially Explicit Capture--Recapture Models
setNumThreads

Number of Threads
score.test

Score Test for SECR Models
secr-version5

Changes in secr 5.0
secr.design.MS

Construct Detection Model Design Matrices and Lookups
secrtest

Goodness-of-fit Test Results
session

Session Vector
secrRNG

Random Number Seed
secrdemo

SECR Models Fitted to Demonstration Data
secr.fit

Spatially Explicit Capture--Recapture
secr.test

Goodness-of-Fit Test
shareFactorLevels

Fix Inconsistent Covariates
skink

Skink Pitfall Data
smooths

Smooth Terms in SECR Models
sighting

Sighting Attributes
signal

Signal Fields
signalmatrix

Reformat Signal Data
sim.capthist

Simulate Detection Histories
sim.popn

Simulate 2-D Population
sim.secr

Simulate From Fitted secr Model
snip

Slice Transect Into Shorter Sections
sort.capthist

Sort Rows of capthist or mask Object
subset.traps

Subset traps Object
subset.popn

Subset popn Object
suggest.buffer

Mask Buffer Width
summary.capthist

Summarise Detections
subset.mask

Subset, Split or Combine Mask Objects
subset.capthist

Subset or Split capthist Object
spacing

Detector or Mask Spacing
traps.info

Detector Attributes
transformations

Transform Point Array
traps

Detector Array
speed

Speed Tips
timevaryingcov

Time-varying Covariates
summary.traps

Summarise Detector Array
summary.popn

Summarise Simulated Population
summary.mask

Summarise Habitat Mask
trap.builder

Complex Detector Layouts
stoatDNA

Stoat DNA Data
trim

Drop Unwanted List Components
strip.legend

Colour Strip Legend
Trend

Density Trend
verify

Check SECR Data
usagePlot

Plot usage, detections or sightings.
userdist

Non-Euclidean Distances
writeGPS

Upload to GPS
write.captures

Write Data to Text File
updateCH

Update Old capthist Format
usage

Detector Usage
utility

Utility Functions
vcov.secr

Variance - Covariance Matrix of SECR Parameters
Troubleshooting

Problems in Fitting SECR Models
turnover

Specifying a Dynamic Population
BUGS

Convert Data To Or From BUGS Format
Fletcher.chat

Estimate overdispersion
FAQ

Frequently Asked Questions, And Others
AIC.secr

Compare SECR Models
read.capthist

Import or export data
CV

Coefficient of Variation
Dsurface

Density Surfaces
D.designdata

Construct Density Design Data
LLsurface

Plot Likelihood Surface
AICcompatible

Model Compatibility