bray_curtis | R Documentation |
Bray-Curtis Dissimilarity
bray_curtis(n1, n2)
n1 |
abundances of species at site 1 |
n2 |
abundances of species at site 2 |
Bray-Curtis dissimilarity (0..1, 0 = equal, 1 = different)
species in n1 and n2 need to be aligned
n1 <- c(11, 0, 7, 8, 0) n2 <- c(24, 37, 5, 18, 1) bray_curtis(n1, n2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.