Description Usage Arguments Details Value See Also Examples
Select a subset of points that maximize the smallest pairwise distance between the points.
1 | farthest_points(data, n)
|
data |
A matrix of points to choose n from, either in two or three dimensions. |
n |
The number of points to select. |
This function begins with a random sample of n points and iterately puts them back into the mother set and tries to see if there is a better candidate than the point that was put back.
A vector of indices for the points in the subset.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.