
Gradients of the seven scenarios of Peres-Neto et al. (2012)
Source:R/static.R
logistic_gradients.RdTwo gradients on a transect, as in Appendix C of Peres-Neto et al. (2012).
Unless stated, x is evenly spaced on [-15, 15] and y is x in random
order, so that the two are independent.
Value
Data frame with one row per site: x and y, the gradients that
generate the data, and x_test and y_test, the ones to analyse.
Details
The two gradients are equally important and independent.
They are equally important and correlated:
yisxplus a N(0, 1) error.They are independent, and
yis less important: data come fromy, andy_testisywith unit variance plus a N(0, 1) error. On the scale ofythis error would have no effect, and with unit variance the results agree with Table 5.Neither is important: data come from scenario 1, and
x_testandy_testare N(0, 1) deviates, to estimate the type I error.yhas a broad spatial scale, the first Moran's eigenvector map (MEM), andxis in random order along the transect.yhas an intermediate spatial scale, the third MEM, andxis as in scenario 5.xis the first MEM andythe third.
MEMs are rescaled to [-15, 15].
References
Peres-Neto, P. R., Leibold, M. A., & Dray, S. (2012). Assessing the effects of spatial contingency and environmental filtering on metacommunity phylogenetics. Ecology, 93, S14–S30. doi:10.1890/11-0494.1