simSCR: Simulate data from a SCR study

Description Usage Arguments Value Author(s)

View source: R/simSCR.R

Description

This function simulates data from a camera trap SCR study. The extent of the state space is controlled by "buff", which buffers the minimum and maximum X and Y extents. Therefore, it probably only makes sense for square or rectangular grids. Functionality for user-provided polygonal state spaces will be added in the future.

Usage

1
2
simSCR(N = 120, lam0 = 0.2, sigma = 0.5, K = 10, X = X,
  buff = 3, obstype = "bernoulli")

Arguments

N

a vector indicating the number of individuals to simulate

lam0

the detection function hazard rate

sigma

the spatial scale parameter

K

the number of capture occasions

X

the K x 2 matrix of trap locations

buff

the distance to buffer the trapping array in the X and Y dimensions to produce the state space

obstype

observation type, either "bernoulli" or "poisson"

Value

a list containing the capture history, activity centers, trap object, and several other data objects and summaries.

Author(s)

Ben Augustine


benaug/SPIM documentation built on Jan. 23, 2022, 4:29 a.m.