Learn R Programming

secr (version 3.0.1)

summary.capthist: Summarise Detections

Description

Concise description of capthist object.

Usage

# S3 method for capthist
summary(object, terse = FALSE, ...)

# S3 method for summary.capthist print(x, ...)

counts(CHlist, counts = "M(t+1)")

Arguments

object
capthist object
terse
logical; provide only summary counts for multi-session object
x
summary.capthist object
arguments passed to other functions
CHlist
capthist object, especially a multi-session object
counts
character vector of count names

Value

From summary.capthist, an object of class summary.capthist, a list with at least these components

detector
detector type ("single", "multi", "proximity" etc.)
ndetector
number of detectors
xrange
range of x coordinates of detectors
yrange
range of y coordinates of detectors
spacing
mean distance from each trap to nearest other trap
counts
matrix of summary counts (rows) by occasion (columns). See Details.
dbar
mean recapture distance
RPSV
root pooled spatial variance

or, when terse = TRUE and object contains multiple sessions, a dataframe of counts per session.

Details

These counts are reported by summary.capthist
n number of individuals detected on each occasion
u number of individuals detected for the first time on each occasion
f number of individuals detected exactly f times
M(t+1) cumulative number of individuals detected
losses number of individuals reported as not released on each occasion
detections number of detections, including within-occasion `recaptures'
traps visited number of detectors at which at least one detection was recorded
traps set number of detectors, excluding any `not set' in usage attribute of traps attribute

counts may be used to return the specified counts in a compact session x occasion table. If more than one count is named then a list is returned with one component for each type of count.

See Also

dbar, RPSV, capthist

Examples

Run this code
temptrap <- make.grid(nx = 5, ny = 3)
summary(sim.capthist(temptrap))
summary(sim.capthist(temptrap))$counts["n",]

Run the code above in your browser using DataLab