.calcCentrality | R Documentation |
Internal function to calculate centrality of a list of species in a network
.calcCentrality(
network,
sppExclude,
metric = c("degree", "betweenness", "eigenvector")
)
network |
a network coercible to |
sppExclude |
list of species to exclude the network before calculating degree centrality (all other metrics are calculated on the full network) |
metric |
centrality metric to calculate. Either "degree"
(using |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.