Saves K columns to the data table. The columns are named RowNear <k>. For a given row, the kth column contains the row number of its kth nearest neighbor.
Caution: The row numbers in the columns RowNear <k> do not update when you reorder the rows in your data table. If you reorder the rows, the values in those columns are incorrect.
See Local Data Filter, Redo Menus, and Save Script Menus in the Using JMP book for more information about the following options: