bray_curtis {benthos} | R Documentation |
Bray-Curtis Dissimilarity
Description
Bray-Curtis Dissimilarity
Usage
bray_curtis(n1, n2)
Arguments
n1 |
abundances of species at site 1 |
n2 |
abundances of species at site 2 |
Value
Bray-Curtis dissimilarity (0..1, 0 = equal, 1 = different)
Note
species in n1 and n2 need to be aligned
Examples
n1 <- c(11, 0, 7, 8, 0)
n2 <- c(24, 37, 5, 18, 1)
bray_curtis(n1, n2)
[Package benthos version 1.3-8 Index]