Start here: ecological data analysis in R

A guided reading order for ecological data analysis in R and QGIS: diversity, ordination, GLMs, mixed models and spatial methods, from first steps onward.

This page is a reading order, not a feed. The tutorials below are grouped by the stage of a typical analysis, so you can follow a path instead of picking posts at random. Each section is roughly self-contained; jump to the stage you need, or read top to bottom.

If you are new to R for ecology, start with the foundations, then move to whichever data type you work with: community tables (diversity, ordination), counts and presence-absence (GLMs), grouped or repeated measurements (mixed models), or spatial layers (GIS).

Foundations

Get the basics of estimation and a reproducible setup in place before modelling anything.

Diversity and community description

Summarise what is in your samples: richness, evenness, and the structure of an assemblage.

Ordination and multivariate structure

Explore gradients and group differences in multivariate community data.

Regression, GLMs and the modelling workflow

Model how a response depends on predictors, for continuous, count and presence-absence data.

Mixed models and correlated data

Handle grouping, pseudoreplication and correlation that ordinary regression ignores.

Spatial data and GIS

Work with coordinates, rasters and the link between QGIS and R.

Communicating results

Common pitfalls

A few posts above are dedicated to mistakes that are easy to make and hard to spot. If something looks wrong, these are the ones to reread: pseudoreplication, common PERMANOVA mistakes, collinearity and VIF, when not to use Shannon, GLM residual diagnostics, and offsets for rates and densities.