build.matrix.from.traits: Build a predicted adjacency matrix based on trait values

Description Usage Arguments Value References Examples

Description

Build a predicted adjacency matrix based on trait values

Usage

1
build.matrix.from.traits(adj, corr.traits)

Arguments

adj

The adjacency matrix

corr.traits

A list with species as rows, the values of the corrected traits as columns, and the different traits as components

Value

The function returns a three-dimensional array where the first and second dimension describes the species, i.e., the adjacency matrix based on the corrected trait values, and the third dimension corresponds to the trait analyzed.

References

A Eklöf, U Jacob, J Kopp, J Bosch, R Castro-Urgal, NP Chacoff, B Dalsgaard, C de Sassi, M Galetti, PR Guimarães, SB Lomáscolo, AM Martín González, MA Pizo, R Rader, A Rodrigo, JM Tylianakis, DP Vázquez, and S Allesina (2013) The dimensionality of ecological networks. Ecology Letters 16:577-583 (doi: 10.1111/ele.12081)

Examples

1
2
data(eklof)
overlap.matrices <- build.matrix.from.traits(eklof$network, corr.traits)

stoufferlab/phyloint documentation built on May 30, 2019, 7:23 p.m.