powered by
Check that an object is a hypergraph object.
is.hypergraph(h)
a hypergraph.
A logical.
This only checks that the object's class contains hypergraph.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab