degree.collect function

Degrees of nodes

Degrees of nodes

Collect the degrees for all nodes in a network.

degree.collect(net)

Arguments

  • net: The input network.

Returns

A vector.

Details

Obtain the degrees for all nodes.

Examples

## Not run: x.deg <- degree.collect(x) summary(x.deg) ## End(Not run)

Author(s)

Xu Dong, Nazrul Shaikh.

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

Useful links