corr_nn function

Find ordered nearest neighbors based on correlation, assuming the absolute value of the correlation is monotonically decreasing with distance. Returns an n X (m + 1) matrix, each row indicating the m + 1 nearest neighbors including itself.

  • Maintainer: Jian Cao
  • License: GPL (>= 2)
  • Last published: 2025-02-08

Useful links