Skip to content
Advanced Vegan Workshop for ESA
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
data add data Aug 6, 2017
.gitignore upate the ignord files Aug 6, 2017
LICENSE Initial commit Aug 6, 2017
Makefile push initial set of materials Aug 6, 2017 update location details for 2017 Aug 6, 2017
Toroidal_coord.png push initial set of materials Aug 6, 2017
advanced-vegan-slides.R push initial set of materials Aug 6, 2017
advanced-vegan-slides.Rmd push some more tweaks/fix typos Aug 7, 2017
advanced-vegan-slides.tex push some more tweaks/fix typos Aug 7, 2017
cyclic-shifts-figure.pdf push initial set of materials Aug 6, 2017
cyclic-shifts-with-mirror-figure.pdf push initial set of materials Aug 6, 2017
handout-advanced-vegan-slides.pdf push some more tweaks/fix typos Aug 7, 2017
slides-template.tex more tweaks Aug 6, 2017
vegan-refs.bib push initial set of materials Aug 6, 2017

Advanced community data analysis using the vegan package in R

Welcome to the GitHub repository for the workshop on advanced community ecology analyses using the vegan package at ESA 2017.

Location and time: Room A105, Oregon Convention Center, Portland, Oregon


Gavin Simpson and Naupaka Zimmerman.


The R statistical language has enjoyed wide and rapid adoption by many ecologists, and is used across many ecological subdisciplines for statistical analyses and the production of publication-quality figures. For community ecologists using R, one of the most-used, and most-useful, add-on packages is vegan, which provides a wide range of functionality covering inter alia ordination, diversity analysis, and ecological simulation. This workshop is envisioned as a follow-up to the "Introduction to vegan" session offered earlier or one for those that already use vegan and want to delve into some of the detail. We will focus on vegan’s more advanced and recently released features, including the use of restricted permutations to test a range of experimental designs.

We will focus in particular on when and how to use multivariate methods including constrained ordination (CCA, RDA, Constrained PCoA), as well as between-group tests such as PERMANOVA. We will cover concepts such as design- and model-based permutations and the exchangeability of samples in tests. We will also discuss the use of vegan to go beyond simply fitting a constrained ordination model, to diagnostics, plotting, etc. The workshop will assume that participants have a basic level of familiarity with working in R, including data import and basic indexing and subsetting, with the use of basic functions in vegan, and with community ecology statistics, such as ordination. All participants must bring their own laptop with R and RStudio (available free online for all platforms at ) pre-installed.

Pre workshop instructions

Installing R

If you don't already have R set up with a suitable code editor, we recommend downloading and installing R and RStudio Desktop for your platform. Once installed, open RStudio and install the following packages. Simply paste these commands into your prompt.

Installing packages

install.packages("vegan", dependencies = TRUE)

Downloading code/data from this repository

If you're already familiar with git, then simply clone this repo. If you're not familiar with git, simply hit the Download ZIP button on the right side (or towards the top-right) of this page. If you're not sure where to save it, just download and unzip to your Desktop.

If you're having any trouble with these steps please drop us an email. We'll also strive to have local copies if you forget to install any of these tools.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can’t perform that action at this time.