function to simulate double observer spatial distance sampling data subject to possible zero inflation and species misidentification
simulate_data(S, Observers, ZIP = TRUE, misID = TRUE, tau.pois = 15,
tau.bern = 20)
number of spatial strata (a single transect is placed in each strata and assumed to cover the whole strata)
A (2 x S) matrix giving the observer identity for each transect
If TRUE, simulate abundance using a zero-inflated Poisson model
If TRUE, assume species misidentification
Precision of the ICAR process for Poisson abundance
Precision of the ICAR process for zero inflation
a distance sampling dataset