distancesneighbors: Neighbours

Description Usage Arguments Value Author(s)

View source: R/distancesneighbors.R

Description

Returns all neighbours for all data points in ascending order

Usage

1
distancesneighbors(data, nr, defined)

Arguments

data

A matrix containing the data points as row vectors

nr

a vector containing row names. If missing, row numbers are used.

defined

A row vector containing 1 for all columns of data that are used. If missing, all columns are used.

Value

nn

A matrix containing all neighbours of all data points in the corresponding g row, in ascending order.

Author(s)

Raphael Paebst


Mthrun/Distances documentation built on Feb. 4, 2020, 8:39 p.m.