metric.distance.meanecc function

Mean Eccentricity

Mean Eccentricity

Calculate the mean eccentricity of a graph.

metric.distance.meanecc(g, p)

Arguments

  • g: The input network.
  • p: The sampling probability.

Returns

A real constant.

Details

The mean eccentricities of all nodes in graph g. Calculates the (estimated) mean eccentricity of graph g with a justified error.

Examples

## Not run: x <- net.erdos.renyi.gnp(1000, 0.01) metric.distance.meanecc(x, 0.01) ## End(Not run)

References

West, Douglas Brent. Introduction to graph theory. Vol. 2. Upper Saddle River: Prentice Hall, 2001.

Author(s)

Xu Dong, Nazrul Shaikh.

  • Maintainer: Nazrul Shaikh
  • License: GPL (>= 2)
  • Last published: 2020-12-01

Useful links