simhmltm: Tabulate point and interval estimates.

View source: R/simulate.R

simhmltmR Documentation

Tabulate point and interval estimates.

Description

Combines point estimates from est.hmltm and bootstrap estimates from bs.hmltm to produce a table ready for insertion into a paper. Does not include any strata with no detections.

Simulates line transect survey data in which animal availability is simulated by generating time series of availability data from the hidden Markov model(s) with parameters specified in argument hmm.pars. Currently only for models with no covariates.

Usage

simhmltm(nw, hfun, pars, hmm.pars, survey.pars, print.progress = TRUE)

Arguments

nw

number of animals to simulate.

hfun

detection hazard function name.

pars

detection hazard function parameters.

hmm.pars

availability hidden Markov model parameters (as per est.hmltm).

survey.pars

survey parameters, as for est.hmltm.

print.progress

if TRUE prints progress through simulations.

est

output from est.hmltm.

bs

output from bootsum using the same model that created est.

Details

Simulates (x,y) observations from a population of nw animals using detection hazard specified by hfun & pars, and HMM availability process specified by hmm.pars. Survey parameters are in survey.pars.

Value

Data frame with two elements: $x and $y, being perpendicular and forward distances of detected animals, respectively.


david-borchers/hmltm documentation built on Oct. 29, 2023, 9:07 p.m.