sim2sidetf | R Documentation |
See the sim2side help file for a description of the capture process. The camera failure process operates like this: cameras fail with probabilty failprob and remain disabled for faildur occasions. If failtype=1, traps at single sites fail together (bear attack?) and if failtype=2, they fail independently. This function was written to investigate the importance of using the 2D trap operation file.
sim2sidetf(N = 120, lam01 = 0.1, lam02 = 0.2, sigma = 0.5,
K = 10, X = X, buff = 3, failprob = 0.05, faildur = 2,
failtype = 2, obstype = "bernoulli")
N |
a vector indicating the number of individuals to simulate |
lam01 |
the single side detection function hazard rate |
lam02 |
the double side detection function hazard rate |
sigma |
the spatial scale parameter |
K |
the number of capture occasions |
X |
the K x 3 matrix of trap locations and number of cameras at each trap. columns are X, Y, #cams |
buff |
the distance to buffer the trapping array in the X and Y dimensions to produce the state space |
failprob |
the probability a camera or set of cameras at a site will fail on each occasion |
faildur |
the number of occasions a camera remains inoperable |
failtype |
1 if cameras at a site fail together and 2 if they fail independently |
obstype |
observation type, either "bernoulli" or "poisson" |
a list containing the both, left, and right data sets, the both plus left only and both plus right only data sets (stored in y.obs), the activity centers, the trap object, 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.