metric.distance.medianecc {fastnet}R Documentation

Median Eccentricity

Description

Calculate the (estimated) median eccentricity of a graph.

Usage

metric.distance.medianecc(g, p)

Arguments

g

The input network.

p

The sampling probability.

Details

Is the median eccentricities of all nodes in graph g. metric.distance.medianecc calculates the (estimated) median eccentricity of graph g with a justified error.

Value

A real constant.

Author(s)

Xu Dong, Nazrul Shaikh.

References

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

Examples

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

[Package fastnet version 1.0.0 Index]