hyperedge_weights: Get Hyperedge Weights

View source: R/getters_setters.R

hyperedge_weightsR Documentation

Get Hyperedge Weights

Description

Takes a hypergraph object and returns the weights associated with each hyperedge

Usage

hyperedge_weights(hype)

Arguments

hype

A hypergraph object.

Value

A vector of weights asssociated with the hyperedges. If the are no weights assicated with the hyperedges then NULL is returned instead.

Examples

h <- example_hype()
hyperedge_weights(h)

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