Learn R Programming

tectonicr (version 0.4.4)

coordinate_mod: Coordinate Correction

Description

Corrects the longitudes or latitudes to value between -180.0 and 180.0 or -90 and 90 degree

Usage

longitude_modulo(x)

latitude_modulo(x)

Value

numeric

Arguments

x

Longitude(s) or latitude(s) in degrees

Examples

Run this code
longitude_modulo(-361 + 5 * 360)
latitude_modulo(-91 + 5 * 180)

Run the code above in your browser using DataLab