hyperedge_weights {rhype}R 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)

[Package rhype version 0.3.0 Index]