to180: Convert [0,360] longitudes to [-180, 180]

View source: R/bb.R

to180R Documentation

Convert [0,360] longitudes to [-180, 180]

Description

Convert [0,360] longitudes to [-180, 180]

Usage

to180(x)

Arguments

x

numeric vector, no check is done for being withing [0, 360] range

Value

numeric vector

See Also

https://gis.stackexchange.com/questions/201789/verifying-formula-that-will-convert-longitude-0-360-to-180-to-180/201793


BigelowLab/rasf documentation built on July 18, 2022, 10:19 p.m.