sim.twocamera: Simulating data from two-camera aerial surveys.

View source: R/fit-ns.r

sim.twocameraR Documentation

Simulating data from two-camera aerial surveys.

Description

Simulating data from two-camera aerial surveys.

Usage

sim.twocamera(pars, d, w, b, l, tau, parents = NULL)

Arguments

pars

A vector containing elements named D.2D, kappa, and sigma, providing values of animal density (animals per square km), average duration of surface phase (s), and dispersion (km).

d

The length of the transect flown (in km).

w

The distance from the transect to which detection of individuals on the surface is certain. This is equivalent to the half-width of the detection zone.

b

The distance from the transect to the edge of the area of interest. Conceptually, the distance between the transect and the furthest distance a whale could be on the passing of the first camera and plausibly move into the detection zone by the passing of the second camera.

l

The lag between cameras (in seconds).

tau

Mean dive-cycle duration (in seconds).

parents

An optional vector containing the parent locations for all animals within the area of interest, given in distance along the transect (in km). If this is provided, then the parameter D.2D is not required in pars. If this is not provided, then parent locations are generated from a homogeneous Poisson point process with intensity D.2D.

Value

A list. The first component gives the distance along the transect of detected individuals. The second gives the parent locations. The third identifies which parent location generated each detected individual. The fourth gives the distance from the transect centre line of the detection location. The fifth provides observed sibling information.

Examples

twocamera.data <- sim.twocamera(c(D.2D = 1.3, kappa = 27, sigma = 0.02), d = 500,
                                w = 0.175, b = 0.5, l = 20, tau = 110)


palm documentation built on Sept. 22, 2023, 9:06 a.m.