k_nearest_neighbour_graph: k-nearest neighbour graph

Description Usage Arguments Examples

View source: R/k_nearest_neighbour_graph.R

Description

Computes a k-nearest neighbour graph for a given set of points. Refer to the Wikipedia article for details.

Usage

1

Arguments

points

A data frame with x, y coordinates for the points

k

Number of neighbours

Examples

1

marcusvolz/mathart documentation built on May 24, 2021, 4:16 p.m.