bertz: Bertz complexity index

Description Usage Arguments Details Value Author(s) References Examples

Description

This method calculates BERTZ complexity index.

Usage

1
bertz(g, dist = NULL, deg = NULL)

Arguments

g

a graph as a graphNEL object.

dist

the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function.

deg

the degree of each nodes of the graph. If the parameter is empty the degrees will be calculated within the function.

Details

This method calculates the BERTZ complexity index.

Value

It returns the BERTZ complexity index.

Author(s)

Laurin Mueller

References

S. H. Bertz. The first general index of molecular complexity. Journal of the American Chemical Society, 103:3241-3243, 1981

Examples

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

#calculate Distance Matrix
mat.dist <- distanceMatrix(g)

bertz(g,mat.dist)


Search within the QuACN package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.