Ecological statistics with R!

This is an English version of my ecological statistics with R web site, originally published in Swedish.

This web site was created as a way for myself to save frequently used R code, and as a manual to a one-day introduction to statistics in ecology (for my students). To teach in an international course I have translated some of the contents.

More comprehensive instructions at!

These pages were made when I was a PhD student 2002-2008. They have not been up-dated since then. More recent and more comprehensive instructions are available at They were made for statistics courses 2008 och 2009.

If you have smarter solutions, please contact me.

/ Didrik