View source: R/NetworkComparisonFunctions.R
calculNetStats | R Documentation |
The function calculNetStats
serves to calculate, create a table and plot
the following statistics:
Density (no self loops are considered)
Diameter (if there is more than one connected component, the largest diameter will be returned, independently of the size of the connected component)
Average degree
Average path length
Clustering coefficient (the networks are considered as undirected) It also plots the degree distribution, and upset plots of the overlap of nodes and edges reads all the networks stored in a given directory
calculNetStats(net)
net |
|
Data frame with the statistics
Elva Novoa, elva-maria.novoa-del-toro@inrae.fr
# See the NetworkComparison vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.