figshare
Browse
1/1
2 files

New robust weighted averaging- and model-based methods for assessing trait-environment relationships: R-code

Download all (1.4 MB)
Version 7 2019-01-02, 10:36
Version 6 2018-12-30, 13:56
Version 5 2018-12-29, 13:09
Version 4 2018-12-23, 16:26
Version 3 2018-12-19, 11:32
Version 2 2018-12-19, 09:34
Version 1 2018-12-19, 08:02
dataset
posted on 2019-01-02, 10:36 authored by Cajo ter BraakCajo ter Braak
This is the R-code belonging to the paper

New robust weighted averaging- and model-based methods for assessing trait-environment relationships.

It contains two new methods, a new weighted averaging method and a new model-based method:

1. The new weighted averaging method combines site-level CWM with a species-level regression of Species Niche Centroids (SNC) on to the trait. The regressions are weighted by Hill's effective number (N2) of occurrences of each species and the N2-diversity of a site, and are subsequently combined in a sequential test procedure known as the max-test.

2. Using the test statistics of these new methods, the permutation-based max test provides strong statistical evidence for trait-environment association in a plant community dataset, where existing methods show (very) weak evidence. The powers of the two new methods were similar in a simulation study based on this dataset.

History