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)

hwarden162/hyper documentation built on Sept. 15, 2022, 5:21 a.m.