bonchev1: Magnitude-based information index by Bonchev I_D(G)

Description Usage Arguments Value Author(s) References Examples

View source: R/bonchev1.R

Description

This method calculates the magnitude-based information index by Bonchev I_D(G).

Usage

1

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.

Value

It returns the magnitude-based information index by Bonchev I_D(G)

Author(s)

Laurin Mueller <laurin@eigenlab.net>

References

D. Bonchev and N. Trinajstic, Information theory, distance matrix and molecular branching, J. Chem. Phys., 67:4517-4533, 1977

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)

bonchev1(g,mat.dist)

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