Description Usage Arguments Value Author(s) Examples
View source: R/spectralRadius.R
This method calculates the spectral radius of a graph.
1 |
g |
a graph as a graphNEL object. |
This method returns the spectral radius of a graph as a double-precision floating point value.
Lavanya Sivakumar, Michael Schutte
1 2 3 4 5 | library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:9), 0.5)
spectralRadius(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.