hyperedge_names: Get Hyperedge Names

View source: R/getters_setters.R

hyperedge_namesR Documentation

Get Hyperedge Names

Description

Takes a hypergraph object and returns the names of the hyperedges.

Usage

hyperedge_names(hype)

Arguments

hype

A hypergraph object.

Value

A vector of strings representing the names of the the hyperedges. If the hyperedges have no names assocaited with them it will return NULL instead.

Examples

h <- example_hype()
hyperedge_names(h)

rhype documentation built on Aug. 6, 2022, 5:05 p.m.