View source: R/networkProperties.R
spp.centrality | R Documentation |
Function to calculate the centrality of a list of spp within a network, or a list of networks network can be a single network or a list of networks to extract spp centrality values from if network is a list, then species also needs to be a list of equal length
spp.centrality(
networkList,
sppExclude,
metric = c("degree", "betweenness", "eigenvector"),
...
)
networkList |
a named |
sppExclude |
list of species to exclude from degree centrality calculations (all other metrics are calcualted on the full network) |
metric |
centrality metric to calculate. Either "degree"
(using |
... |
passed to reproducible::Cache |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.