Spearman’s rank correlation for abundances; pairwise and averaged multi-site.
Usage
cor_spear(vec_from, vec_to)
Arguments
- vec_from
A numeric vector representing species abundances at the first site.
- vec_to
A numeric vector representing species abundances at the second site.
Value
Spearman's rank correlation coefficient.