is_weighted {rhype}R Documentation

Is a Hypergraph Weighted

Description

Takes a hypergraph object and returns whether a hypergraph has weights associated with its vertices or hyperedges.

Usage

is_weighted(hype)

Arguments

hype

A hypergraph object.

Value

A logical value indicating whether the hypergraph has weights associated with its vertices or hyperedges.

Examples

h <- example_hype()
is_weighted(h)

[Package rhype version 0.3.0 Index]