is.hypergraph {HyperG} | R Documentation |
Is an object a hypergraph?
Description
Check that an object is a hypergraph object.
Usage
is.hypergraph(h)
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
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)
[Package HyperG version 1.0.0 Index]