get_abc | R Documentation |
Compute the a, b, c turnover components. Given two vectors, v1 and v2, of species names or interactions, component "a" is the number of elements (species or interactions) present in both vectors v1 and v2, "b" is the number of elements present only in v1 and "c" only in v2. See the section "Beta diversity estimates" in Novotny, V. (2009). Beta diversity of plant–insect food webs in tropical forests: a conceptual framework. Insect Conservation and Diversity, 2(1), 5-9.
get_abc(vect)
vect |
A list of two vectors with species names or interactions. |
A list with the 3 components a, b, c. The elements of the list are numeric vectors of length 1.
library(bootdissim) library(bipartite) net1 <- reshape_net(vazarr, seed = 1) net2 <- reshape_net(vazcer, seed = 1) vect <- get_interactions(net1, net2) abc <- get_abc(vect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.