iterate | R Documentation |
This function iterates caribou simulations and returns rejection rate of each hypothesis test
iterate( iters, Theta, nu, phi, r, modelSim = c("H", "I", "T"), modelEst = c(modelSim, "H", "I", "T"), BSim, BEst = BSim )
iters |
An integer giving the total number of iterations |
Theta |
The total herd size to be simulated. An approximation, not a limiting number |
nu |
An integer, the total number of collars to be simulated in a caribou herd. An approximation, not a limiting number. |
phi |
A numeric that parameterizes the degree of clustering. phi = 0 indicates no clustering. 0 < phi < 1 |
r |
A parameter related to the probability of detection |
modelSim |
A character string indicating the (phase II) model used to simulate the probability that a group with collared animals is detected pi. It can be either "H" = homogeneity model, "I" = independence model or "T" = threshold model. The default is "H". |
modelEst |
Indicates the phase II probability model used to compute the population estimate, T.hat. The default is to use the same model as used to generate the simulation. |
BSim |
The threshold parameter used in phase II probability detection |
BEst |
the threshold parameter used in population estimation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.