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

traps

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

ss

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

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)

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