pdist: Spherical (?) distance

Description Usage Arguments Value Note See Also

View source: R/pdist.R

Description

Spherical (?) distance.

Usage

1
pdist(lat, lon, lat1, lon1)

Arguments

lat,lon

Coordinate vectors of starting positions in lat/lon

lat1,lon1

Coordinate vectors of end positions in lat/lon

Value

Distance in kilometers.

Note

Why not use arcdist? Distance functins could be documented in one file.

See Also

Called by pointkriging and variogram.


geo documentation built on May 29, 2017, 5:36 p.m.