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 / format < prev    next >
Encoding:
Text File  |  1997-04-23  |  599 b   |  25 lines

  1.     
  2.     _E_n_c_o_d_e _i_n _a _C_o_m_m_o_n _F_o_r_m_a_t
  3.     
  4.          format(x, trim=FALSE)
  5.     
  6.     _V_a_l_u_e:
  7.     
  8.          This function converts its first argument to a vector
  9.          of character strings, which have a common format (as is
  10.          done by print).  If trim is TRUE, leading blanks are
  11.          trimmed off the strings.  This is useful when the
  12.          strings are to be used for plot axis annotation.
  13.     
  14.          The function formatC provides a rather more flexible
  15.          formatting facility.
  16.     
  17.     _S_e_e _A_l_s_o:
  18.     
  19.          formatC.
  20.     
  21.     _E_x_a_m_p_l_e_s:
  22.     
  23.          format(1:10)
  24.     
  25.