functional_evenness | R Documentation |
Calculates functional evenness from a species-trait matrix and possibly an abundance vector.
functional_evenness(x, w, a = rep(1, nrow(x)), gower = T)
x |
numeric matrix. Species-trait matrix. |
w |
numeric vector. A relative variable importance vector. Not used in case 'gower' = FALSE. |
a |
optional numeric vector. Species-abundances. |
gower |
a logical. Calculate entropy based on Gower dissimilarity as opposed to euclidean distance. |
a number. A double between 0 and 1.
The minimum spanning tree is constructed from a pairwise similiarity matrix, which is an inefficient way to do so. It seems however, that efficient implementations of minimum spanning trees escape the algorithmic landscape of R.
Species with an abundance of 0, are automatically filtered, before any computations.
Villeger2008asgerbachelor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.