convert.traps | R Documentation |
Converts an ascr
traps matrix to a secr
traps
object.
convert.traps(traps, ss = FALSE)
traps |
A matrix with two columns. Each row provides Cartesian coordinates for the location of a detector. Alternatively, this can be a list of such matrices if detections from multiple detector arrays (or ‘sessions’) are being used to fit a single model. |
ss |
Logical, set to |
The returned object is suitable for use as the traps
argument of the function make.capthist.
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.
traps <- convert.traps(traps = example.data$traps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.