simulate_data: function to simulate double observer spatial distance...

Description Usage Arguments Value Author(s)

Description

function to simulate double observer spatial distance sampling data subject to possible zero inflation and species misidentification

Usage

1
2
simulate_data(S, Observers, ZIP = TRUE, misID = TRUE, tau.pois = 15,
  tau.bern = 20)

Arguments

S

number of spatial strata (a single transect is placed in each strata and assumed to cover the whole strata)

Observers

A (2 x S) matrix giving the observer identity for each transect

ZIP

If TRUE, simulate abundance using a zero-inflated Poisson model

misID

If TRUE, assume species misidentification

tau.pois

Precision of the ICAR process for Poisson abundance

tau.bern

Precision of the ICAR process for zero inflation

Value

a distance sampling dataset

Author(s)

Paul B. Conn


hierarchicalDS documentation built on July 3, 2019, 1:07 a.m.