is_weighted {rhype} | R Documentation |
Takes a hypergraph object and returns whether a hypergraph has weights associated with its vertices or hyperedges.
is_weighted(hype)
hype |
A hypergraph object. |
A logical value indicating whether the hypergraph has weights associated with its vertices or hyperedges.
h <- example_hype()
is_weighted(h)