## Data from Huntley 2004, 2008
data("pueblo")
## Brainerd-Robinson measure
(C <- similarity(pueblo, "brainerd"))
plot_spot(C)
## Data from Magurran 1988, p. 166
data("aves")
## Jaccard measure (presence/absence data)
similarity(aves, "jaccard") # 0.46
## Sorenson measure (presence/absence data)
similarity(aves, "sorenson") # 0.63
# Jaccard measure (Bray's formula ; count data)
similarity(aves, "bray") # 0.44
# Morisita-Horn measure (count data)
similarity(aves, "morisita") # 0.81
Run the code above in your browser using DataLab