twopoints.dist: Calculate the distance between two points on earth

View source: R/twopoints.dist.R

twopoints.distR Documentation

Calculate the distance between two points on earth

Description

Calculate the distance between two points on earth.

Usage

twopoints.dist(lat1, lon1, lat2, lon2) 

Arguments

lat1

a latitude value of a point.

lon1

a longitude value of a point.

lat2

a latitude value of another point.

lon2

a latitude value of another point.

Examples

twopoints.dist(39,110,40,110)


liuguofang/figsci documentation built on Nov. 24, 2023, 1:45 p.m.