makeStart()
wraps the code previously internal to secr.fit()
.
It will not usually be called directly.
makeStart(start = NULL, parindx, capthist, mask, detectfn, link,
details = NULL, fixed = NULL, CL = FALSE, anypoly = FALSE,
anytrans = FALSE, alltelem = FALSE, sighting = FALSE)
Numeric vector with one value for each coefficient (beta parameter) in model.
optional starting values as described for secr.fit
list with one component per real parameter giving corresponding indices of coefficients (beta parameters)
capthist
object including capture data and detector (trap) layout
mask
object or (for a multi-session analysis) a list of mask
objects, one for each session
integer code or character string for shape of detection function 0 = halfnormal, 1 = hazard rate etc. -- see detectfn
list of link function names ("log", "logit", "identity") for each real parameter
list of additional arguments (see secr.fit
)
list with optional components corresponding to real parameters giving the scalar value to which the parameter is to be fixed
logical, if true then model does not include density
logical, TRUE if any polygon detectors
logical, TRUE if any transect detectors
logical, TRUE if any telemetry detectors
logical, TRUE if any sighting data
If `start' is a previously fitted model then only `start' and `parindx' are required.
secr.fit
makeStart(secrdemo.0, list(D = 1, g0 = 2:3, sigma = 4))
Run the code above in your browser using DataLab