Learn R Programming

fastnet (version 1.0.0)

degree.collect: Degrees of nodes

Description

Collect the degrees for all nodes in a network.

Usage

degree.collect(net)

Arguments

net

The input network.

Value

A vector.

Details

Obtain the degrees for all nodes.

Examples

Run this code
# NOT RUN {
x.deg <- degree.collect(x)
summary(x.deg)
# }

Run the code above in your browser using DataLab