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)

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