This is the informational website for the recent book by Marc Kéry & Andy Royle :

Applied Hierarchical Modeling in Ecology
Analysis of distribution, abundance and species richness in R and BUGS

The book can be ordered here:
All code in the book can be downloaded here:

You can download the AHMbook package from CRAN: http://CRAN.R-project.org/package=AHMbook
It contains all data and functions used in the book. Our warm thanks for this go to Mike Meredith !

Here is a complete list of R packages that you need in the book:
AICcmodavg, coda, denstrip, jagsUI, lme4, plotrix, R2OpenBUGS, R2WinBUGS, raster, rgdal, rjags, sp, unmarked