| subtract_edge | R Documentation | 
Subtract Edges from an Adjacency List
subtract_edge(adj, v1, v2, ids = NULL, zero = TRUE)
| adj | list of adjacent precincts | 
| v1 | vector of vertex identifiers for the first vertex. Can be an
integer index or a value to look up in  | 
| v2 | vector of vertex identifiers for the second vertex. Can be an
integer index or a value to look up in  | 
| ids | A vector of identifiers which is used to look up the row indices
for the vertices.  If provided, the entries in  | 
| zero | boolean, TRUE if  | 
adjacency list.
data(towns)
adj <- adjacency(towns)
subtract_edge(adj, 2, 3)
subtract_edge(adj, "West Haverstraw", "Stony Point", towns$MUNI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.