Simulates non-hierarchical line transect data under conventional distance sampling (CDS). It subjects N individuals to sampling, and then retains the value of distance from transect only for individuals that are captured.
Usage
sim.ldata(N = 200, sigma = 30, show.plot = TRUE)
Value
A list with the following elements:
N
the number of individuals along the transect
sigma
scale parameter of half-normal detection function
xall
distance from the transect line for all N individuals
x
absolute distance from the transect line for those individuals detected
Arguments
N
number of individuals along transect with distance Uniform(-100, 100)
sigma
scale parameter of half-normal detection function
show.plot
choose whether to show plots or not. Set to FALSE when using function in simulations.
Author
Marc Kéry & Andy Royle
References
Kéry, M. & Royle, J.A. (2016) Applied Hierarchical Modeling in Ecology AHM1 - 8.2.3.