randic: Randic connectivity index

Description Usage Arguments Value Author(s) References Examples

View source: R/randic.R

Description

This method calculates the Randic connectivity index.

Usage

1
randic(g, deg = NULL)

Arguments

g

a graph as a graphNEL object.

deg

the degree of each node of g.

Value

This method returns the Randic connectivity index.

Author(s)

Laurin Mueller <laurin@eigenlab.net>

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

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

randic(g)

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