Skip to contents

Convert decimal degrees to radians Previously called deg2rad.

Usage

convert_deg_rad(deg)

Arguments

deg

Numeric Decimal degrees of a latitude or longitude.

Value

The value of degrees in radians.

Examples

convert_deg_rad(170.1)
#> [1] 2.968805
convert_deg_rad(-60.1)
#> [1] -1.048943