More up-to-date information for the book
lives on
the book wiki/:
this has errata
and added notes for each
chapter, among other stuff. If
you have suggestions for improvements in the R code, or you think you've
found an error, please check the wiki and/or contact me (e-mail
to bolker "at" mcmaster.ca).
The book is based on a class I taught several times at the University of Florida, covering the nitty-gritty of constructing and fitting simple (statistical) ecological models to real data sets. Here is the material for the labs I used in that class; more lab material can be found on the wiki, and I will be likely to update more of it there. (This material is slightly out of date; if you're teaching a course based on the book or otherwise interested, please bug me for updated versions!) Exercises:
|
Data and scripts for labs:
Most of the data for the book are available in the emdbook package on CRAN. If you would like the goby data (in the emdbookx package), please contact me (bolker at ufl.edu). R scripts for each chapter: 1 2 3 4 5 6 7 8 9 10 11 (these are R scripts, with extension ".R": open them with a text editor such as (Windows) Wordpad, Tinn-R, (MacOS) TextWrangler, BBEdit, or the R script editor). These have some gory details, but should reproduce exactly the code chunks and figures in the text. (Note that you may also need to install the Hmisc package from CRAN for generating some of the tabular output. You may also want chapskel.R, a "chapter skeleton" file with miscellaneous setup code.)
Most of the R code for doing things in the book is now in the two
packages bbmle
(also available in a development
version) and
emdbook,
both available from R archive (CRAN) or via install.packages
from inside R.
Other miscellaneous R code: pdf html xml Rnw R
Formats: PDF, Rnw (Sweave -- original "source code"), R (R code only)