degree: A function to calculates the degree of a node

Description Usage Arguments

View source: R/degree.R

Description

A function to calculates the degree of a node

Usage

1
degree(graph, node)

Arguments

graph

A graph that is stored in an adjacency matrix.

node

A node that is expressed in text, e.g. "V1" or "X1".


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.