delete_edges | R Documentation |
Given a current two-column matrix of edges and a vector of vertex IDs, this function removes any rows of the edgelist in which the IDs are present.
delete_edges(el, vid)
el |
A two-column matrix of current edges (edgelist). |
vid |
A vector of vertex IDs whose edges are to be deleted from the edgelist. |
Returns an updated edgelist object, with any edges including the specified vertices removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.