is_weighted: Is a Hypergraph Weighted

View source: R/getters_setters.R

is_weightedR 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)

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