Description Usage Arguments Value Author(s)
View source: R/knneighborsRD.R
returns the k nearest neighbours of every point in the data.
1 | knneighborsRD(k, data, defined)
|
k |
The number of neighbours to each point in the data that are sought. |
data |
A Matrix containing the data points as row vectors. |
defined |
A row vector containing 1 for all columns that are used. If missing, all columns are used. |
nn |
A matrix containing the row numbers of the k neighbours of each row in data as a row vector, sorted in ascending order. |
Raphael Paebst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.