Returns a set (list) of the increasing sets (integer vectors) of the input
v, in the sense that the first set contains the first element
v, the second set the first and second elements of
v, and so
An integer vector. Meant to represent the k nearest neighbors of a location, the first element being the integer identifier of the location itself.
A list of the same length as the input. The first element of the list is v, the second is sort(v[1:2]), the third sort(v[1:3]), and so on.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.