Description Usage Arguments Details Value Author(s) References Examples
This method calculates the offdiagonal complexity measure.
1 | offdiagonal(g, deg = NULL)
|
g |
a graph as a graphNEL object. |
deg |
the degree of all nodes of g. Will be calculated automatically if left empty. |
This method calculates the offdiagonal complexity measure.
It returns the offdiagonal complexity measure as a double-precision floating point value.
Lavanya Sivakumar, Michael Schutte
J. Kim and T. Wilhelm. What is a complex graph? Physica A, 387:2637-2652, 2008
1 2 3 4 5 6 7 8 9 | library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:10), 0.6)
offdiagonal(g)
# alternatively:
deg <- graph::degree(g)
offdiagonal(g, deg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.