non_neighbors.neighbor_graph: Non-neighbors for neighbor_graph Objects

View source: R/neighbor_graph.R

non_neighbors.neighbor_graphR Documentation

Non-neighbors for neighbor_graph Objects

Description

Retrieve the non-neighboring nodes of a given node in a neighbor_graph object.

Usage

## S3 method for class 'neighbor_graph'
non_neighbors(x, i)

Arguments

x

A neighbor_graph object.

i

The index of the node for which non-neighboring nodes will be returned.

Value

A list of node indices that are not neighbors of the given node.


bbuchsbaum/neighborweights documentation built on April 1, 2024, 8:41 p.m.