Trig                  package:base                  R Documentation

_T_r_i_g_o_n_o_m_e_t_r_i_c _F_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     These functions give the obvious trigonometric functions.  They
     respectively compute the cosine, sine, tangent, arc-cosine,
     arc-sine, arc-tangent, and the two-argument arc-tangent.

_U_s_a_g_e:

     cos(x)
     sin(x)
     tan(x)
     acos(x)
     asin(x)
     atan(x)
     atan2(y, x)

_A_r_g_u_m_e_n_t_s:

    x, y: numeric vector

_D_e_t_a_i_l_s:

     The arc-tangent of two arguments 'atan2(y,x)' returns the angle
     between the x-axis and the vector from the origin to (x,y), i.e.,
     for positive arguments 'atan2(y,x) == atan(y/x)'.

     Angles are in radians, not degrees (i.e., a right angle is pi/2).

     All except 'atan2' are generic functions: methods can be defined
     for them individually or via the 'Math' group generic.

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole.

