hypergraph.delete.edges {HyperG} | R Documentation |
Delete edges or vertices of a hypergraph.
Description
Remove edges or vertices from a hypergraph.
Usage
hypergraph.delete.edges(h, edges)
delete.hyperedges(h, edges)
hypergraph.delete.vertices(h, v)
Arguments
h |
a hypergraph. |
edges , v |
A vector of edges or vertices (indices) to remove. |
Details
delete.hyperedges
is an alias for hypergraph.delete.edges
.
Value
a hypergraph
Author(s)
David J. Marchette dmarchette@gmail.com
See Also
delete.vertices
,
delete.edges
.
Examples
h <- hypergraph_from_edgelist(list(1:3,3:7,7:8))
hypergraph.delete.vertices(h,3)
hypergraph.delete.vertices(h,7)
hypergraph.delete.edges(h,2)
[Package HyperG version 1.0.0 Index]