deg2rad {GeoRange}R Documentation

Converts degrees to radians

Description

Converts degrees to radians

Usage

deg2rad(deg)

Arguments

deg

- decimal degree to be converted to radians

Value

Returns the degree in radians

References

[1]Originally from http://www.r-bloggers.com/great-circle-distance-calculations-in-r/

Examples

deg2rad(45)

[Package GeoRange version 0.1.0 Index]