Learn R Programming

QuACN (version 1.8.0)

randic: Randic connectivity index

Description

This method calculates the Randic connectivity index.

Usage

randic(g, deg = NULL)

Arguments

g
a graph as a graphNEL object.

deg
the degree of each node of g.

Value

References

X. Li and I. Gutman, Mathematical Aspects of Randi\'c-Type Molecular Structure Descriptors, ser. Mathematical Chemistry Monographs. University of Kragujevac and Faculty of Science Kragujevac, 2006.

Examples

Run this code

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

randic(g)

Run the code above in your browser using DataLab