simSCR2DNA | R Documentation |
This function simulates data from a joint hair snare and scat collection 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.
simSCR2DNA(N = 120, lam01 = 0.2, lam01b = 0, lam02 = 0.2,
sigma = c(0.5, 0.5), K1 = 10, K2 = 10, X1 = X1, X2 = X2,
buff = 2)
N |
a vector indicating the number of individuals to simulate |
lam01 |
the hair snare detection function hazard rate |
lam02 |
the scat detection function hazard rate |
sigma |
a vector of spatial scale parameters for the hair snare and scat detection functions (in that order) |
K1 |
the number of hair snare capture occasions |
K2 |
the number of scat capture occasions |
X1 |
the K1 x 2 matrix of hair snare locations |
X2 |
the K2 x 2 matrix of scat collection locations (descretized transects) |
buff |
the distance to buffer the trapping array in the X and Y dimensions to produce the state space |
lam0b |
the hair snare detection function hazard rate after capture at a trap |
a list containing the capture histories (y1 for hair snares, y2 for scat collection), activity centers, trap objects, and several other data objects and summaries.
Ben Augustine
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.