Supplement 1. Two files for fitting binomial mixture models as described originally by Royle (2004).
Supplement 1, original
Nmixture.R -- R source code.
Nmixture_tutorial.txt -- A step by step description of how to use the R code in file "Nmixture.R".
Supplement 1, Revision 1
Nmixture.R -- R source code, corrected.
This supplement provides the file "Nmixture.R" which can be sourced into R. It contains example data for one species and code to fit Poisson and Negative Binomiol mixture models as described in Royle (2004) and in this article.