R: Difference between Longitudes

difflon {GEOmap} | R Documentation

## Difference between Longitudes

### Description

Difference between Longitudes

### Usage

    difflon(LON1, LON2)

### Arguments

`LON1` | Longitude in degrees
`LON2` | Longitude in degrees

### Details

takes into account crossing the zero longitude

### Value

`deg` | degrees difference
`sn` | direction of rotation

### Author(s)

Jonathan M. Lees<jonathan.lees.edu>

### Examples

    difflon( 34 , 67)

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

[Package GEOmap version 2.4-0 Index]