R/sin_d.R

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

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

  return(sin(theta*pi/180))
  
} # END FUNCTION: sin_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.