R/acos_d.R

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

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

  return(acos(theta)*180/pi)
  
} # END FUNCTION: acos_d

Try the aspace package in your browser

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

aspace documentation built on May 29, 2024, 2:04 a.m.