convert.capt | R Documentation |
These functions convert a capture history object between the
structures required for the ascr
and secr
packages.
convert.capt.to.ascr(capt) convert.capt.to.admbsecr(capt) convert.capt.to.secr(capt, traps, capthist = TRUE, cutoff = NULL)
capt |
A |
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. |
capthist |
Logical, if |
cutoff |
The signal strength threshold for detection, if required. |
A capture history object appropriate for analysis using
either the ascr
or the secr
package.
capt <- convert.capt.to.secr(capt = example$capt, traps = example$traps, cutoff = example$cutoff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.