This function assembles multiple vectors of contrasts weights into a matrix. All pairwise contrasts between habitats on each island are computed separately. Contrasts between habitats across islands are not considered.
A data frame containing at least columns for the dependent variables, as well as a column "island" and a column "habitat".
A matrix of contrast weights. Each row is a contrast. Each column is a habitat on a given island. Each row is filled with zeros, except the two habitats to compare, which are given values 1 and -1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.