radian | R Documentation |
Converts degrees to radians
radian(degree)
degree |
vector of values in degrees |
Returns a vector of values in radians.
Carla Freitas
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.