radian: Degrees to radians

radianR Documentation

Degrees to radians

Description

Converts degrees to radians

Usage

radian(degree)

Arguments

degree

vector of values in degrees

Value

Returns a vector of values in radians.

Author(s)

Carla Freitas

Examples

# 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 Sept. 13, 2022, 5:05 p.m.