spectralRadius: Spectral radius

Description Usage Arguments Value Author(s) Examples

View source: R/spectralRadius.R

Description

This method calculates the spectral radius of a graph.

Usage

1

Arguments

g

a graph as a graphNEL object.

Value

This method returns the spectral radius of a graph as a double-precision floating point value.

Author(s)

Lavanya Sivakumar, Michael Schutte

Examples

1
2
3
4
5
library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:9), 0.5)

spectralRadius(g)

QuACN documentation built on May 2, 2019, 5:46 p.m.