subtract_edge | R Documentation |
Subtract Edges from an Adjacency List
subtract_edge(adj, v1, v2, zero = TRUE)
adj |
list of adjacent precincts |
v1 |
integer or integer array for first vertex to connect. If array, connects each to corresponding entry in v2. |
v2 |
integer or integer array for second vertex to connect. If array, connects each to corresponding entry in v1. |
zero |
boolean, TRUE if |
adjacency list.
data(towns)
adj <- adjacency(towns)
subtract_edge(adj, 2, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.