Description Usage Arguments Value
sortedNeighbors
sorts the input data frame on the specified sort key
and returns all neighbors within a specified window.
1 | sortedNeighbors(dat, key, windowSN, ID)
|
dat |
Data frame. Data used for sorting and discovering neighbors. |
key |
Integer or character vector. The columns on which to construct the sort key. |
windowSN |
Integer value. Size of sliding window to use during sorted neighbrs. |
ID |
Integer or character value. Identifiable column in dat. |
A data frame with 2 columns and n rows, each row containing neighbor pairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.