deg2rad: Convert degrees to radians

Description Usage Arguments Examples

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)


Search within the remote package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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