deg2rad: Convert between degrees and radians

View source: R/rgeo.R

deg2radR Documentation

Convert between degrees and radians

Description

Facilitates conversion between degrees and radians.

Usage

deg2rad(x)

rad2deg(x)

Arguments

x

a numeric vector

Value

a numeric vector

See Also

latlon2xyz(), googleMap(), and rgeo().

Examples

deg2rad(180)
rad2deg(2*pi)

mosaic documentation built on Nov. 10, 2023, 1:11 a.m.