Re: [R] Nearest neighbors of a of 3D points

2019-02-07 Thread Eric Leroy
77843-4352 -Original Message- From: R-help On Behalf Of Eric Leroy Sent: Wednesday, February 6, 2019 2:37 AM To: r-help@r-project.org Subject: [R] Nearest neighbors of a of 3D points Hi, I have a text file that contains the 3D coordinates of points and I want to plot the histogram of t

Re: [R] Nearest neighbors of a of 3D points

2019-02-06 Thread David L Carlson
On Behalf Of Eric Leroy Sent: Wednesday, February 6, 2019 2:37 AM To: r-help@r-project.org Subject: [R] Nearest neighbors of a of 3D points Hi, I have a text file that contains the 3D coordinates of points and I want to plot the histogram of the nearest neighbors distance. I can import the

[R] Nearest neighbors of a of 3D points

2019-02-06 Thread Eric Leroy
Hi, I have a text file that contains the 3D coordinates of points and I want to plot the histogram of the nearest neighbors distance. I can import the xyz coordinates in R and each value x, y, z is stored in a numerical array. I discovered the nndist.pp3 function from the spatstat package that