deg2rad: Convert degrees to radians

Description

Convert degrees to radians

Usage

1
deg2rad(deg)

Arguments

deg

vector of degrees to be converted to radians

Examples

1
2
3
4
5
6
7
8
9
data(vdendool)

## latitude in degrees
degrees <- coordinates(vdendool)[, 2]
head(degrees)

## latitude in radians
radians <- deg2rad(coordinates(vdendool)[, 2])
head(radians)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.