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

Re: [R] Nearest Neighbors

2012-07-29 Thread David L Carlson
[mailto:r-help-bounces@r- > project.org] On Behalf Of Petr Savicky > Sent: Sunday, July 29, 2012 1:44 PM > To: r-help@r-project.org > Subject: Re: [R] Nearest Neighbors > > On Tue, Jul 24, 2012 at 09:26:49AM -0700, olemissrebs1123 wrote: > > I was wondering if there is a way in

Re: [R] Nearest Neighbors

2012-07-29 Thread Petr Savicky
On Tue, Jul 24, 2012 at 09:26:49AM -0700, olemissrebs1123 wrote: > I was wondering if there is a way in R to find k nearest neighbors of various > orders, say order 2, 3, or 4. In otherwords neighbors of neighbors of > neighbors. You get the idea. I know that I can use knearneigh(matrix.data, > k)

Re: [R] Nearest Neighbors

2012-07-24 Thread David L Carlson
2 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of olemissrebs1123 > Sent: Tuesday, July 24, 2012 1:27 PM > To: r-help@r-project.org > Subject: Re: [R] Nearest Neighbors > > I don't see the "obvious&

Re: [R] Nearest Neighbors

2012-07-24 Thread olemissrebs1123
I don't see the "obvious" portion. What I am looking for is an output that gives me an n*k matrix n (x,y) pairs k neighbors but using order say 4. -- View this message in context: http://r.789695.n4.nabble.com/Nearest-Neighbors-tp4637618p4637648.html Sent from the R help mailing list archive a

Re: [R] Nearest Neighbors

2012-07-24 Thread Jeff Newmiller
Isn't the obvious solution to subtract the set for level n-1 from the set for level n? --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...

[R] Nearest Neighbors

2012-07-24 Thread olemissrebs1123
I was wondering if there is a way in R to find k nearest neighbors of various orders, say order 2, 3, or 4. In otherwords neighbors of neighbors of neighbors. You get the idea. I know that I can use knearneigh(matrix.data, k) but this only gives me the k nearest neighbors and not of a particular or

Re: [R] nearest neighbors

2009-08-09 Thread milton ruser
Hi cindy, depends on your data type. It it is points, give a look at spatstat package. bests milton On Sun, Aug 9, 2009 at 5:03 PM, cindy Guo wrote: > Hi, All, > > I am wondering if there is any package which can give the index of the k > nearest neighbors. > > Thank you, > > Cindy > >

[R] nearest neighbors

2009-08-09 Thread cindy Guo
Hi, All, I am wondering if there is any package which can give the index of the k nearest neighbors. Thank you, Cindy [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEAS