reduce_degrees: Reduce degrees to the interval [0,360), or (-180,180] if...

Description Usage Arguments Value Examples

View source: R/coordinates.R

Description

Reduce degrees to the interval [0,360), or (-180,180] if signed

Usage

1
reduce_degrees(degrees, signed = FALSE)

Arguments

degrees

Decimal degrees

signed

Signed degrees in the interval (-180,180]

Value

degrees value reduced to the interval [0,360), or (-180,180] if signed

Examples

1
reduce_degrees(c(19.4+24*3,12-24*2))

Susarro/arqastwb documentation built on May 21, 2019, 10:28 a.m.