Learn R Programming

QuACN (version 1.8.0)

totalAdjacency: Index of total Adjacency

Description

This method calculates the Index of total Adjacency.

Usage

totalAdjacency(g, am = NULL)

Arguments

g
a graph as a graphNEL object.

am
the adjacency matrix of g.

Value

References

D. Bonchev and D. H. Rouvray, Complexity in Chemistry, Biology, and Ecology, ser. Mathematical and Computational Chemistry. Springer, 2005, New York, NY, USA.

Examples

Run this code

library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

totalAdjacency(g)

Run the code above in your browser using DataLab