Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GreatDist

Distance Along Great Circle Arc


Description

Distance Along Great Circle Arc in degrees, kilometers

Usage

GreatDist(LON1, LAT1, LON2, LAT2, EARTHRAD= 6371)

Arguments

LON1

Longitude, point1

LAT1

Latitude, point1

LON2

Longitude, point2

LAT2

Latitude, point2

EARTHRAD

optional earth radius, default = 6371

Value

LIST:

drad

distance in radians

ddeg

distance in degrees

dkm

distance in kilometers

Author(s)

Jonathan M. Lees <jonathan.lees@unc.edu>

Examples

###  get distance between London, England and Santiago, Chile
london  <-  c(51.53333, -0.08333333)
santiago  <-  c(-33.46667, -70.75)

GreatDist(london[2], london[1], santiago[2], santiago[1])

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.