Some R-codes, class notes and tutorials produced by our team and collaborators. We are glad to share them as they are, of course without any warranty that they are all running properly.
Your feedback is very welcome.
The R package vegan has functions for individual-based permutation tests of additive diversity partitioning (sensu Crist et al. 2003).
Here we provide a code for the sample-based tests (Crist et al. 2003), where sample units of a given level are shuffled within units of the level above.
This code is an improved version of code used by Ribeiro et al. (2008). Apart code fine-tuning, in this version average diversity indexes are not weighted (see Crist et al. 2003).
Compound generalized linear models of Pardini et al. (2010).
Different combinations of Poisson and negative binomial linear models were used to predict number of species (or individuals) of small mammals in three landscapes that differ in the remaining forest cover. Each of these combinations represents alternative hypotheses on the interaction between landscape context and patch-area in fragmented landscapes.