Description Usage Arguments Details Value Warning Note Author(s) References See Also Examples
Perform 3-occasion change-in-ratio (CIR) according to users' specifications, and return a data frame with point estimate and measures of precision for each simulated experiment
1 2 | sim.cir.3(popn, frac.prehunt, frac.midhunt, frac.posthunt,
frac.harv.male.1, frac.harv.fem.1, frac.harv.male.2, frac.harv.fem.2, B)
|
rm.pop |
Population object being harvested and sampled (likely created by |
frac.prehunt |
Proportion of the population sampled prior to the first harvest season |
frac.midhunt |
Proportion of the population sampled between the harvest seasons |
frac.posthunt |
Proportion of the population sampled following the second harvest season |
frac.harv.male.1 |
Proportion of males in the population removed during first harvest |
frac.harv.fem.1 |
Proportion of females in the population removed during first harvest |
frac.harv.male.2 |
Proportion of males in the population removed during second harvest |
frac.harv.fem.2 |
Proportion of females in the population removed during second harvest |
B |
Number of simulated replicates of the experiment desired |
The population (popn) remains unchanged for all simulations; i.e., the same population is used for all replicates. Hence
none of the stochasticity in the results is attributable to changing populations. This function simply makes repeated
calls to three.samp.cir
.
A data frame consisting of
$point.cir |
Point estimate of abundance for each replicate, |
$se.cir |
Standard error of abundance for each replicate, |
$coef.var |
Coefficient of variation (not percentage) of abundance for each replicate. |
Exercise caution using the results of the function because inadmissable values are returned as NaN
,
so checks on finiteness is called for before summarizing/plotting results.
The number of replicates requested may not be equal to the number of replicates realized because of the presence of missing values.
Eric Rexstad, RUWPA ericr@mcs.st-and.ac.uk
Borchers, Buckland, and Zucchini (2002), Estimating animal abundance: closed populations. Chapter 5 http://www.ruwpa.st-and.ac.uk/estimating.abundance
three.samp.cir
, sim.cir.2
, make.twosex.pop
1 2 3 4 5 6 7 | library(wisp)
example <- make.twosex.pop(abund=200, prop.male=0.4)
example.result <- sim.cir.3(popn=example,frac.prehunt=0.4, frac.midhunt=0.4, frac.posthunt=0.4,
frac.harv.male.1=0.3, frac.harv.fem.1=0.05,
frac.harv.male.2=0.4, frac.harv.fem.2=0.05, B=200)
example.result
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.