is.hypergraph: Is an object a hypergraph?

Description Usage Arguments Details Value Author(s) Examples

View source: R/is.hypergraph.R

Description

Check that an object is a hypergraph object.

Usage

1

Arguments

h

a hypergraph.

Details

This only checks that the object's class contains hypergraph.

Value

A logical.

Author(s)

David J. Marchette dmarchette@gmail.com

Examples

1
2
3
4
   h <- hypergraph_from_edgelist(list(1:4,1:2,c(2,3,5),c(3,5:7)))
	g <- as.graph(h)
	is.hypergraph(h)
	is.hypergraph(g)

HyperG documentation built on March 4, 2021, 5:06 p.m.

Related to is.hypergraph in HyperG...