R/rad_deg.R

Defines functions rad2deg deg2rad

Documented in deg2rad rad2deg

rad2deg <- function(r){
  r * 57.29577951308232286465 # double for 180/pi
}

deg2rad <- function(d){
  d * 0.01745329251994329547437 # double for pi/180
}

Try the REdaS package in your browser

Any scripts or data that you put into this service are public.

REdaS documentation built on May 2, 2019, 2:48 p.m.