This function uses maximum likelihood estimation to estimate density (and some other related parameters) of animals from a mark-recapture line transect survey using two cameras, without any given recapture information. The method is Latent Capture history Enumeration (LCE) and it is described in the paper "A latent capture history model for digital aerial surveys" by D. L. Borchers, P. Nightingale, B. C. Stevenson, and R. M. Fewster, to appear in the journal Biometrics. LCE uses a Markov model for animal availability (which in a marine survey can be interpreted as a model of the diving cycle combined with a model of movements into or out of the detection strip). It uses a Gaussian movement model with a single speed parameter to model animal movement. Since recaptures are unknown, LCE enumerates recapture scenarios. In each scenario where pairs of observations (that are sufficiently close) are
The package documentation has an example of using segfit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
dat |
A list containing the following: y1: Set of observations by the first observer, measured in distance units from the start of the transect. y2: Set of observations by the second observer. k: Lag (in seconds) between observer 1 and observer 2. L: Length of the transect line, in the same distance units as y1 and y2. w: Half-width of the detection strip in distance units. b: Buffer half-width (distance from the centre line of the detection strip to the edge of the buffer), beyond which the method assumes that no animal can enter the detection strip between passage of the two observers. |
D.2D |
Starting point for the density estimate, expressed as a two-dimensional density. |
E1 |
Starting point for estimation of time in the surface or near-surface state during each dive cycle (in seconds). |
Ec |
Dive cycle length in seconds. |
sigmarate |
Starting point for estimation of speed of the animals (the parameter of the Gaussian movement model) |
planespd |
Speed of the observers (in distance units per second) |
p |
Vector of detection probabilities for the two observers (defaults to c(1,1)) |
sigma.mult |
This parameter is no longer used (defaults to 5). |
control.opt |
Passed through to the control.opt argument of function optim in package stats. |
method |
Optimisation method, defaults to "BFGS", passed to the optim function in package stats. |
estimate |
Vector of parameters to estimate, subset of c("D", "sigma", "E1", "mu_c") (D: density, sigma: animal speed, E1: time available for observation during dive cycle, mu_c: dive cycle length). Default value is c("D","sigma","E1"). |
set.parscale |
Set the parscale parameter of optim using the starting point values given (defaults to TRUE) |
io |
Include in/out movement in the model, i.e. animals may become available or unavailable for detection between observers because of movement in/out of the detection strip (defaults to TRUE) |
Dbound |
If estimating only D, Dbound may be used to provide upper and lower bounds for log(D). It is a list with elements $lower and $upper (default value NULL). |
hessian |
If TRUE the Hessian matrix is calculated and returned. This can be used to estimate the asymptotic variance-covariance matrix of the parameters. |
adj.mvt |
Adjust animal movement along the transect line to account for observer movement (e.g. if the animal moves in the opposite direction to the observers, then the elapsed time between the two observers passing the animal is less than k). If the flag is set to FALSE, the animal movement model assumes k seconds elapsed between the two observers passing the animal (defaults to TRUE). |
ft.normal |
If TRUE, uses normal to approximate Brownian hitting times, else uses exact expression for Brownian hitting times (defaults to FALSE). |
cutstretch |
Factor to increase the maximum distance at which two observations may be considered to be observations of the same animal (defaults to 1). |
krtest |
This parameter is no longer used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.