get_beta | R Documentation |
Compute various dissimilarity indices.
get_beta(abc, index)
abc |
A list with the turnover components a, b and c. |
index |
The name of the desired index, e.g.: "whittaker", "jaccard", "sorensen". Character type. |
A dissimilarity index. Numeric vector of length one.
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) get_beta(abc, index = "whittaker") get_beta(abc, index = "jaccard") get_beta(abc, index = "sorensen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.