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)

remote documentation built on May 1, 2019, 11:30 p.m.