Learn R Programming

GEOmap (version 2.1)

difflon: Difference between Longitudes

Description

Difference between Longitudes

Usage

difflon(LON1, LON2)

Arguments

LON1
Longitude in degrees
LON2
Longitude in degrees

Value

  • degdegrees difference
  • sndirection of rotation

Details

takes into account crossing the zero longitude

Examples

Run this code
difflon( 34 , 67)

###  here we cross the zero line
difflon( 344 , 67)

Run the code above in your browser using DataLab