R/rad_deg.R

Defines functions deg2rad rad2deg

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 June 13, 2022, 9:05 a.m.