convert.capt: Convert capture history object

Description Usage Arguments Details Value Examples

Description

Converts an admbsecr capture history list to a secr capthist object.

Usage

1
convert.capt(capt, traps, capthist = TRUE, cutoff = NULL)

Arguments

capthist

Logical, if TRUE, a capthist object is returned. Otherwise a data frame is returned, which is suitable for the captures argument to the make.capthist function.

capt

A list with named components, containing the capture history and supplementary information. The function create.capt will return a suitable object. See 'Details' below.

traps

A matrix with two columns. Each row provides Cartesian coordinates for the location of a trap (or detector).

cutoff

The signal strength threshold, above which sounds are identified as detections. Only required when detfn is "ss".

Details

The returned object is suitable for use as the capthist argument of the function secr.fit.

Value

An object of class capthist.

Examples

1
capt <- convert.capt(capt = example$capt, traps = example$traps, cutoff = example$cutoff)

admbsecr documentation built on May 2, 2019, 5:21 p.m.