R/tan_d.R

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

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

  return(tan(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.