vdegree: vdegree

View source: R/compareMetrics.R

vdegreeR Documentation

vdegree

Description

Calculates the degree of each vertices.

Usage

vdegree(x)

Arguments

x

Adjacency matrix.

Details

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

Value

vector of length number of vertices.

Author(s)

Abhirup

Examples

vdegree(beach[[1]][, ])

dnr documentation built on March 10, 2026, 9:06 a.m.