Re: [R-sig-Geo] inter-point distance calcs

2009-08-12 Thread Jim Bouldin
Exactly what I was looking for. Thank you very much. Jim > Jim Bouldin writes: > > > Can anyone recommend a package that can calculate the distances between > > > points (either all or a defined sample of) for x,y point locations > listed > > > in long format

Re: [R-sig-Geo] inter-point distance calcs

2009-08-11 Thread Jim Bouldin
t;- data[data$V3 >0,] #remove the distance to self > > > hope this solves it. > > Kami > > > Jim Bouldin wrote: > > Last message got truncated somehow. To repeat, I forgot to mention that > I > > need to get the distances into the following format. Usin

Re: [R-sig-Geo] inter-point distance calcs

2009-08-10 Thread Jim Bouldin
Last message got truncated somehow. To repeat, I forgot to mention that I need to get the distances into the following format. Using Dylan's example above: Point Pair Distance 1-2 3.6 1-3 6.4 1-4 9.2 . . . . 3-4 .

Re: [R-sig-Geo] inter-point distance calcs

2009-08-10 Thread Jim Bouldin
> Sure. How about the function dist(): > > d <- data.frame(x=sample(1:10, 5), y=sample(1:10, 5)) > > dist(d) > 1234 > 2 3.605551 > 3 6.403124 7.071068 > 4 9.219544 7.211103 5.830952 > 5 8.062258 5.099020 7.211

Re: [R-sig-Geo] inter-point distance calcs

2009-08-10 Thread Jim Bouldin
Good grief, yes dist() will do quite nicely. Pardon the more or less continuous brain lock while I learn R. Thanks. Jim > On Monday 10 August 2009, Jim Bouldin wrote: > > Can anyone recommend a package that can calculate the distances between > > points (either all or a defined

[R-sig-Geo] inter-point distance calcs

2009-08-10 Thread Jim Bouldin
Can anyone recommend a package that can calculate the distances between points (either all or a defined sample of) for x,y point locations listed in long format? Thanks in advance. Jim Bouldin, PhD Research Ecologist Department of Plant Sciences, UC Davis Davis CA, 95616 530-554-1740

[R-sig-Geo] statistical tests under spatial autocorrelation

2009-04-02 Thread Jim Bouldin
I cannot seem to find any packages/functions that take spatial autocorrelation into account , by whatever method, when performing statistical tests. Any pointers appreciated. Thanks Jim Bouldin, PhD Research Ecologist Department of Plant Sciences, UC Davis Davis CA, 95616 530-554-1740

[R-sig-Geo] replying to messages at R-sig-Geo

2008-10-28 Thread Jim Bouldin
Roger, thank you for your reply to my post--that is very much along the lines of what I am looking for. I cannot seem to figure out how to reply to messages properly in thresds, so I am copying and pasting into my email program, but surely there is a simpler way? Thanks. Jim Bouldin

[R-sig-Geo] Spatial Clustering in R

2008-10-28 Thread Jim Bouldin
se points. Jim Hi Jim, What are the nature of the attributes of the items, are they simply actually distances from one another, or is their some other measures of similarity/dissimilarity (say differences in soil types)? Dan Putler On Tue, 2008-10-28 at 13:35 -0700, Jim Bouldin wrote: > I&#

[R-sig-Geo] Spatial Clustering in R

2008-10-28 Thread Jim Bouldin
cally correct term for what I have just described, but I don't know it. Thanks. Jim Bouldin, PhD Associate in Agricultural Experiment Station Department of Plant Sciences, UC Davis Davis CA, 95616 530-554-1740 ___ R-sig-Geo mailing list