View source: R/neighbor_graph.R
non_neighbors.neighbor_graph | R Documentation |
Retrieve the non-neighboring nodes of a given node in a neighbor_graph object.
## S3 method for class 'neighbor_graph'
non_neighbors(x, i)
x |
A neighbor_graph object. |
i |
The index of the node for which non-neighboring nodes will be returned. |
A list of node indices that are not neighbors of the given node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.