radian: Degrees to radians

Description Usage Arguments Value Author(s) Examples

Description

Converts degrees to radians

Usage

1
radian(degree)

Arguments

degree

vector of values in degrees

Value

Returns a vector of values in radians.

Author(s)

Carla Freitas

Examples

1
2
3
4
5
# Convert latitudes and longitudes from decimal degrees to radians
lat<-rnorm(10,80)
lon<-rnorm(10,20)
lat_rad<-radian(lat)
lon_rad<-radian(lon)

argosfilter documentation built on May 30, 2017, 12:20 a.m.