Hello all,
I am currently working on a project that involves creating a nearest neighbor graph, and I want to use the igraph package in R. While I've come across the knn function, which calculates average degrees, I haven't found a dedicated function for directly creating a nearest neighbor graph from data.
I would greatly appreciate any insights, advice, or examples that could help me in achieving this task using the igraph package. Specifically, if there are alternative functions or methods within igraph that I might have overlooked for constructing a nearest neighbor graph, I would love to hear about them.
Thank you in advance!