Unlimited learning, half price | 50% off
Get 50% off unlimited learning

QuACN (version 1.8.0)

hyperDistancePathIndex: Hyper Distance Path Index

Description

This method calculates the Hyper Distance Path Index.

Usage

hyperDistancePathIndex(g, dist = NULL, wien = 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.

wien
the wiener index of g.

Value

References

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

Examples

Run this code
library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

degreeDistribution(g)

Run the code above in your browser using DataLab