Skip to contents

A class to store nearest neighbor networks. Minimally can be initialized with a matrix, which will produce a network between the points, and an igraph object.

Slots

name

The name of the NN graph

method

The name of the method used to create the NN, e.g. knn, snn, frnn, or delaunay

idx

NN Index matrix

dist

A matrix of dists between the indices in idx

igraph

An igraph object graph of the network

misc

Anything else of relevance to store.

Scroll to top