convert.traps: Convert traps object

Description Usage Arguments Details Value Examples

Description

Converts an admbsecr traps matrix to a secr traps object.

Usage

1
convert.traps(traps, ss = FALSE)

Arguments

ss

Logical, set to TRUE if a signal strength detection function is to be used.

traps

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

Details

The returned object is suitable for use as the traps argument of the function make.capthist.

Value

An object of class traps comprising a data frame of x- and y-coordinates, the detector type ('single', 'multi', 'proximity', 'count', 'polygon' etc.), and possibly other attributes.

Examples

1
traps <- convert.traps(traps = example$traps)

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