max_degree: Find The Maximum Degree Of A Hypergraph

View source: R/degree.R

max_degreeR Documentation

Find The Maximum Degree Of A Hypergraph

Description

The degree of a vertex is a way of expressing how many connections there are from a vertex to the rest of the hypergraph. See the degree help documentation for more details.

Usage

max_degree(hype, method = NA)

Arguments

hype

A hypergraph object.

method

The method by which to calculate the degree, see degree help documentation for more information.

Value

The maximum value for the chosen degree among vertices of the hypergraph.

Examples

h <- example_hype()
max_degree(h)

hwarden162/hyper documentation built on Sept. 15, 2022, 5:21 a.m.