Learn R Programming

secr (version 2.7.0)

details: Detail Specification for secr.fit

Description

The function secr.fit allows many options. Some of these are used infrequently and have been bundled as a single argument details to simplify the documentation. They are described here.

Arguments

Detail components

details$centred = TRUE causes coordinates of both traps and mask to be centred on the centroid of the traps, computed separately for each session in the case of multi-session data. This may be necessary to overcome numerical problems when x- or y-coordinates are large numbers. The default is not to centre coordinates. details$distribution specifies the distribution of the number of individuals detected; this may be conditional on the number in the masked area ("binomial") or unconditional ("poisson"). distribution affects the sampling variance of the estimated density. The default is "poisson". The component `distribution' may also take a numeric value larger than nrow(capthist), rather than "binomial" or "poisson". The likelihood then treats n as a binomial draw from a superpopulation of this size, with consequences for the variance of density estimates. This can help to reconcile MLE with Bayesian estimates using data augmentation. details$fixedbeta may be used to fix values of beta parameters. It should be a numeric vector of length equal to the total number of beta parameters (coefficients) in the model. Parameters to be estimated are indicated by NA. Other elements should be valid values on the link scale and will be substituted during likelihood maximisation. Check the order of beta parameters in a previously fitted model. details$hessian is a character string controlling the computation of the Hessian matrix from which variances and covariances are obtained. Options are "none" (no variances), "auto" (the default) or "fdhess" (use the function fdHess in nlme). If "auto" then the Hessian from the optimisation function is used. See also method = "none" below. details$ignoreusage = TRUE causes the function to ignore usage (varying effort) information in the traps component. The default (details$ignoreusage = FALSE) is to include usage in the model. details$intwidth2 controls the half-width of the interval searched by optimise() for the maximum likelihood when there is a single parameter. Default 0.8 sets the search interval to $(0.2s, 1.8s)$ where $s$ is the `start' value. details$LLonly = TRUE causes the function to returns a single evaluation of the log likelihood at the `start' values. details$param chooses between various parameterisations of the SECR model. The default details$param = 0 is the formulation in orchers and Efford (2008) and later papers. details$param = 1 selects the Gardner & Royle parameterisation of the detection model (p0, $\sigma$; Gardner et al. 2009) when the detector type is `multi'. This parameterisation does not allow detector covariates. details$param = 2 selects a currently unpublished parameterisation in terms of ($esa(g_0, \sigma)$, $\sigma$). details$param = 3 selects a currently unpublished parameterisation in terms of ($a_0(g_0, \sigma)$, $\sigma$). details$scaleg0 = TRUE causes g0 to be scaled by $\mathrm{sigma}^{-2}$. Deprecated from 2.6.2: use a0 parameterisation instead. details$scalesigma = TRUE causes sigma to be scaled by $\mathrm{D}^{-0.5}$. details$telemetrysigma = TRUE uses coordinate information from telemetry when capthist has attribute `xylist' (see addTelemetry).

References

Gardner, B., Royle, J. A. and Wegan, M. T. (2009) Hierarchical models for estimating density from DNA mark-recapture studies. Ecology 90, 1106--1115.

See Also

secr.fit