Description Usage Arguments Details Value Author(s) References Examples
View source: R/metric.degree.entropy.R
Calculate the degree entropy of a graph.
1 |
g |
The input network. |
Calculates the degree entropy of graph g, i.e.
Entropy(g) = - ∑_{i=1}^{n} i*\log _2(i)
A real constant.
Xu Dong, Nazrul Shaikh.
Anand, Kartik, and Ginestra Bianconi. "Entropy measures for networks: Toward an information theory of complex topologies." Physical Review E 80, no. 4 (2009): 045102.
1 2 3 4 | ## Not run:
x <- net.erdos.renyi.gnp(1000, 0.01)
metric.degree.entropy(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.