Check out rdist.earth in the fields package. On Oct 30, 2007 11:49 AM, <[EMAIL PROTECTED]> wrote: > Hi, > I have a set of locations defined by longitude and latitude (in degrees), > and want to calculate the spatial (or geographic) distance among all > locations. > I did not find such a function in the spatial-related packages. (I *cannot* > use 'dist', as I have geographic, not cartesian coordinates). > thanks! > Robert > > > Robert Ptacnik > Norwegian Institute for Water Research (NIVA) > Gaustadalléen 21 > NO-0349 Oslo > mobile +47 982 277 81 > FON NIVA +47 22 18 51 00 > FAX +47 22 18 52 00 > > > > ---------------------------------------------------------------------------------------------------------------------- > NIVAs hovedkontor har flyttet til nye lokaler i CIENS - Forskningssenter > for miljø og samfunn; Gaustadalléen 21, 0349 Oslo. Meld deg på vårt > nyhetsbrev på www.niva.no > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.