Description Usage Arguments Details Value Author(s) References Examples
View source: R/spanningTreeSensitivity.R
This method calculates two spanning tree sensitivity measures.
1 | spanningTreeSensitivity(g, one.eds = NULL)
|
g |
a graph as a graphNEL object. |
one.eds |
the one-edge-deleted subgraphs of g as a list of adjacency matrices, as returned by edgeDeletedSubgraphs(g). If this parameter is omitted, the subgraphs will be calculated automatically. |
This method calculates the spanning tree sensitivity (STS) and the spanning tree sensitivity differences (STSD) measures.
The results are returned in a list with two entries named STS and STSD.
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 | library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:12), 0.5)
result <- spanningTreeSensitivity(g)
result$STS
result$STSD
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.