Description Usage Arguments Value
This function simulates the capture process with a 2-component finite mixture model for individual heterogeneity.
1 | captureMh2(p, N, occ, traptype, K = NULL)
|
p |
a vector of size 3 containing the two capture probabilities and the mixture proportion p=c(p1,p2,mix) |
N |
an integer that is the true population size |
occ |
an integer that is the number of capture occasions to simulate |
traptype |
a character string specifying the trap type. "single" allows individuals to be caught in at most 1 trap per occasion and "multi" allows individuals to be caught in multiple traps per occasion. |
K |
an integer that is the number of traps to simulate if traptype="multi" |
W a capture history of dimension N x occ if traptype="single" or N x occ x K if traptype="multi"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.