R/atan_d.R

"atan_d" <-
function(theta=0) {

  #=======================================================
  #
  #  TITLE:     COMPUTE ARCTANGENT IN DEGREES
  #  FUNCTION:  atan_d()
  #  AUTHOR:    TARMO K. REMMEL 
  #  DATE:      16 JANUARY 2006
  #  CALLS:     NA
  #  NEEDS:     
  #  NOTES:     TO SIMPLIFY THE USE OF RADIANS IN R
  #
  #=======================================================

  return(atan(theta)*180/pi)
  
} # END FUNCTION: atan_d

Try the aspace package in your browser

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

aspace documentation built on Sept. 8, 2023, 5:48 p.m.