Learn R Programming

dnr (version 0.3.5)

vdegree: vdegree

Description

Calculates the degree of each vertices.

Usage

vdegree(x)

Arguments

x

Adjacency matrix.

Value

vector of length number of vertices.

Details

Given a network as adjacency matrix, calculate degree stats for each vertex.

Examples

Run this code
# NOT RUN {
vdegree(beach[[1]][, ])
# }

Run the code above in your browser using DataLab