home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / Math < prev    next >
Encoding:
Text File  |  1997-04-23  |  536 b   |  23 lines

  1.     
  2.     _M_i_s_c_e_l_l_a_n_e_o_u_s _M_a_t_h_e_m_a_t_i_c_a_l _F_u_n_c_t_i_o_n_s
  3.     
  4.          abs(x)
  5.          sqrt(x)
  6.     
  7.     _D_e_s_c_r_i_p_t_i_o_n:
  8.     
  9.          These functions compute miscelaneous mathematical func-
  10.          tion.  The naming follows the standard for computer
  11.          languages such as C or Fortran.
  12.     
  13.     _S_e_e _A_l_s_o:
  14.     
  15.          Arithmetic.
  16.     
  17.     _E_x_a_m_p_l_e_s:
  18.     
  19.          xx <- -9:9
  20.          plot(xx, sqrt(abs(xx)),  col = "red")
  21.          lines(spline(xx, sqrt(abs(xx)), n=101), col = "pink")
  22.     
  23.