zagreb1: Zagreb group index 1

Description Usage Arguments Value Author(s) References Examples

Description

This method calculates the Zagreb group index 1.

Usage

1
zagreb1(g, deg = NULL)

Arguments

g

a graph as a graphNEL object.

deg

the degree of each node of g.

Value

This method returns the Zagreb group index 1.

Author(s)

Laurin Mueller

References

M. V. Diudea, I. Gutman, and L. Jantschi, Molecular Topology. Nova Publishing, 2001, New York, NY, USA

Examples

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

zagreb1(g)


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.