Learn R Programming

fastnet (version 1.0.0)

metric.degree.median: Median Degree

Description

Calculate the median degree of a graph.

Usage

metric.degree.median(g)

Arguments

g

The input network.

Value

A real constant.

Details

The median degree is the median value of the degrees of all nodes in graph g.

Examples

Run this code
# NOT RUN {
x <-  net.erdos.renyi.gnp(1000, 0.01)
metric.degree.median(x)
# }

Run the code above in your browser using DataLab