Learn R Programming

QuACN (version 1.8.0)

meanDistanceDeviation: Mean Distance Deviation

Description

This method calculates the Mean Distance Deviation.

Usage

meanDistanceDeviation(g, dist = 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.

Value

References

Skorobogatov V.A. and Dobrynin A.A., Metric analysis of graphs, match, pp. 105-151, 1988.

Examples

Run this code

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

meanDistanceDeviation(g)

Run the code above in your browser using DataLab