View source: R/Utility_functions.R
evenness | R Documentation |
Calculates Pielou's evenness of a metacommunity.
evenness(y)
y |
A metacommunity matrix (columns = species, rows = communities, cell values = counts). |
A vector of evenness values for each community.
meta <- rand_meta(20, 30, 500)
evenness(meta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.