simhmltm.w | R Documentation |
Simulates line transect survey data in which animal availability is simulated by sampling from time series of availability data (from tagged animals, for example). Currently only for models with no covariates.
simhmltm.w(
adat,
xmax,
ymax,
spd,
animals,
hfun,
pars,
N,
dmax = NULL,
seed = NULL,
poiss = FALSE
)
adat |
list of m>=1 vectors containing availability binary time series or depths time series. |
xmax |
maximum perpendicular distance to simulate. |
ymax |
maximum forward distance to simulate (must be at or beyond point that detection hazard function is effectively zero). |
spd |
speed observer is moving. |
animals |
a vector of up to m integers specifying which members of the list |
hfun |
detection hazard function name. |
pars |
detection hazard function parameters. |
N |
number of animals within distance |
dmax |
if not NULL, then it is the depth above which animals are considered to be available, and
|
seed |
random number seed. |
poiss |
if TRUE, the availability time series are randomly permuted, hence generating the equivalent of a Poisson availability process. |
Simulates (x,y) observations from a population of N animals using detection hazard specified by hfun & pars, and resampling from the availability time series in adat for animal availability. Survey parameters are in survey.pars.
Data frame with two elements: $x
and $y
, being perpendicular and forward distances
of detected animals, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.