distanceDegreeCentric: Distance degree centric index

Description Usage Arguments Value Author(s) References Examples

Description

This method calculates the distance degree centric index of a graph.

Usage

1

Arguments

g

the input graph as a graphNEL object

dist

distance matrix of the graph g. Will be automatically calculated if not supplied.

Value

This returns the distance degree centric index of the graph as a double-precision floating point number.

Author(s)

Lavanya Sivakumar, Michael Schutte

References

R. Todeschini and V. Consonni and R. Mannhold, Handbook of Molecular Descriptors, Wiley-VCH, Weinheim, Germany, 2002

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
dist <- distanceMatrix(g)

distanceDegreeCentric(g, 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.