These are examples of R functions I have found useful for plant ecology an evolution (some field-specific, some general). The code is not necessarily definitive or highly developed. You are welcome to use scripts, although I accept no responsibility for them working or producing meaningful outputs! Greg Guerin
Thursday, April 30, 2015
Function for maximising rank correlation between environmental and compositional differences
As a follow-on from the post on scaling environmental variables before calculating distances, there is this function ('bioenv') in the vegan package which can be used to find the set of variables for which (scaled) environmental distances are the most rank-correlated with compositional dissimilarity. This could be useful for some analyses- i.e. if you want to know what environmental changes are the most important for turnover in the system.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment