title: Convert radians to degree / degree to radians
body: <p>Are there build-in functions in R for the conversion of radians to degree and degree to radians?</p>
  
  <p>So far I wrote my one own functions: </p>
  
  <pre><code>rad2deg &lt;- function(rad) {(rad * 180) / (pi)}
  deg2rad &lt;- function(deg) {(deg * pi) / (180)}
  
  #test:
  rad2deg(pi) #180
  rad2deg(2*pi) #360
  deg2rad(180) #pi
  </code></pre>