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))
}

Try the aspace package in your browser

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

aspace documentation built on May 2, 2019, 6:24 a.m.