makeStart | R Documentation |
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)
start |
optional starting values as described for |
parindx |
list with one component per real parameter giving corresponding indices of coefficients (beta parameters) |
capthist |
|
mask |
|
detectfn |
integer code or character string for shape of detection function 0 = halfnormal, 1 = hazard rate etc. – see detectfn |
link |
list of link function names ("log", "logit", "identity") for each real parameter |
details |
list of additional arguments (see |
fixed |
list with optional components corresponding to real parameters giving the scalar value to which the parameter is to be fixed |
CL |
logical, if true then model does not include density |
anypoly |
logical, TRUE if any polygon detectors |
anytrans |
logical, TRUE if any transect detectors |
alltelem |
logical, TRUE if any telemetry detectors |
sighting |
logical, TRUE if any sighting data |
If ‘start’ is a previously fitted model then only ‘start’ and ‘parindx’ are required.
Numeric vector with one value for each coefficient (beta parameter) in model.
secr.fit
makeStart(secrdemo.0, list(D = 1, g0 = 2:3, sigma = 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.