secrFit {wiqid} | R Documentation |
Spatially Explicit Capture-Recapture
Description
A wrapper for secr::secr.fit
. In secr
v. 4, secr.fit
gains a new option, fastproximity
. If TRUE, some data sets are compressed and reconfigured to run much faster. This cannot be implemented for all models. The default is fastproximity=TRUE
. This means that you can have a set of models where some have been reconfigured, others not, and AICs are not comparable across these models. The function secrFit
simply calls secr.fit
with fastproximity = FALSE
, making it easy to run models with consistent settings.
Usage
secrFit (capthist, model = list(D~1, g0~1, sigma~1), mask = NULL, buffer = NULL,
CL = FALSE, detectfn = NULL, ...)
Arguments
capthist |
a |
model |
list with optional components each symbolically defining a linear predictor for one real parameter using formula notation |
mask |
a mask object or (for a multi-session analysis) a list of mask objects, one for each session |
buffer |
scalar mask buffer radius if mask is not specified (default 100 m) |
CL |
logical, if true then the model is fitted by maximizing the conditional likelihood |
detectfn |
integer code or character string for shape of detection function 0 = halfnormal, 1 = hazard rate etc. - see |
... |
other arguments to pass to |
Value
returns an object of class secr representing the fitted SECR model.
Author(s)
This wrapper by Mike Meredith