Learn R Programming

QuACN (version 1.8.0)

connectivityID: Randi\'c connectivity ID number

Description

This method calculates the Randi\'c connectivity ID number.

Usage

connectivityID(g, deg=NULL)

Arguments

g
a graph as a graphNEL object.
deg
the degree of each node of g. Will be automatically calculated if not supplied.

Value

stresses local features and takes the vertex degree into account.

References

M. Randic. On Molecular Identification Numbers. Journal of Chemical Information and Computer Sciences, 24(3):164-175, 1984

Examples

Run this code
set.seed(987)
g <- randomEGraph(LETTERS[1:10], 0.3)

connectivityID(g)

Run the code above in your browser using DataLab