[R] Distance between points and a polygon?

Hans Gardfjell
Thu, 21 Nov 2002 15:39:06 -0000

Dear R users,

I know that this could easily be solved within a GIS-package, but
sometimes it's more convenient to use R. So here's my question anyway...

Does anyone of you know about any R-functions/code that calculates the
distance between a number points and a polygon or polyline? I have
looked thru the different libraries that deals with spatial statistics
but haven't found anything.

Thanks,

Hans Gardfjell
Ume? University, Sweden

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._