[R-sig-Geo] Euclidean distance to a point cloud

Rolf Turner r.turner at auckland.ac.nz
Wed Sep 15 23:05:51 CEST 2010


On 16/09/2010, at 8:33 AM, Ricardo Rodríguez wrote:

> hello all, I have a question as I can calculate the Euclidean distance of a
> point cloud, so that is calculated from one point to everyone else and so on
> to complete the entire cloud, there will be additional way to save these
> operations so that a column in the attributes are all distances from one
> point to the other and in this way to create columns with these results.
> 
> thanks for your attention and help


There are various functions (nndist(), nncross(), pairdist(), ...) in
the spatstat package which may do what you want.

	cheers,

		Rolf Turner
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################



More information about the R-sig-Geo mailing list