Description Usage Arguments Details Value Note Author(s) References See Also Examples
Create histogram of point estimates of abundance from replicate CIR experiments.
1 | draw.hist2(df = df, my.max = my.max)
|
df |
Data frame created by |
my.max |
Maximum value of point estimates to be portrayed in the histogram. This exists because the distribution of CIR point estimates of abundance tends to have a long right-tail, and unless this tail is ignored, much of the nature of the remaining distribution is lost. |
The function could be generalized to draw not only the distribution of the point estimate, but also the distribution of the standard error of the simulated replicates, if desired.
Produces a histogram of point estimates, with a maximum specified by the user, and
labeled with the arguments used to call sim.cir.2
This function makes use of is.finite
on the elements of the data frame
prior to allowing the distribution to be plotted.
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
sim.cir.2
, sim.cir.3
, make.twosex.pop
1 2 3 4 | example <- make.twosex.pop(abund=200, prop.male=0.4)
example.result <- sim.cir.2(popn=example, frac.prehunt=0.2, frac.posthunt=0.4,
frac.harv.male=0.6, frac.harv.fem=0.02, B=200)
draw.hist2(df=example.result, my.max=1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.