convert.capt: Capture history conversion.

Description Usage Arguments Value Examples

Description

These functions convert a capture history object between the structures required for the admbsecr and secr packages.

Usage

1
2
3
convert.capt.to.admbsecr(capt)

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

Arguments

capt

A secr capture history object for convert.capt.to.admbsecr, or an admbsecr capture history object for convert.capt.to.secr.

traps

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

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.

cutoff

The signal strength threshold for detection, if required.

Value

A capture history object appropriate for analysis using either the admbsecr or the secr package.

Examples

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

b-steve/admbsecr documentation built on May 11, 2019, 5:20 p.m.