home *** CD-ROM | disk | FTP | other *** search
-
- _E_n_c_o_d_e _i_n _a _C_o_m_m_o_n _F_o_r_m_a_t
-
- format(x, trim=FALSE)
-
- _V_a_l_u_e:
-
- This function converts its first argument to a vector
- of character strings, which have a common format (as is
- done by print). If trim is TRUE, leading blanks are
- trimmed off the strings. This is useful when the
- strings are to be used for plot axis annotation.
-
- The function formatC provides a rather more flexible
- formatting facility.
-
- _S_e_e _A_l_s_o:
-
- formatC.
-
- _E_x_a_m_p_l_e_s:
-
- format(1:10)
-
-