Learn R Programming

GEOmap (version 2.5-11)

difflon: Difference between Longitudes

Description

Difference between Longitudes

Usage

difflon(LON1, LON2)

Value

deg

degrees difference

sn

direction of rotation

Arguments

LON1

Longitude in degrees

LON2

Longitude in degrees

Author

Jonathan M. Lees<jonathan.lees.edu>

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