prettyPrintList          package:ifultools          R Documentation

_P_r_i_n_t_s _a _l_i_s_t _o_f _n_a_m_e_d _o_b_j_e_c_t_s

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

     Prints a list of named objects in a two column format, with the
     names of objects in the list in the first column and a summary of
     the object in the second. The user can control the justification
     and separation character between the columns.

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

     prettyPrintList(x, header=NULL, justify="left", sep=":")

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

       x: a list of named objects.

  header: a character string defining the header. Default: 'NULL' (no
          header).

 justify: a character string defining the aligment format for the
          objects in the list. Choices are '"none"', '"left"',
          '"right"' and '"decimal"'.

     sep: a siingle character used to divide the list object names from
          their corresponding values.

_S_e_e _A_l_s_o:

     'isVectorAtomic'.

_E_x_a_m_p_l_e_s:

     ## develop menu 
     dinner <- list(Entree="Spaghetti and Meatballs",
         Starter="Caesar Salad", Dessert="Spumoni",
         Beverage="Wine and Water")

     ## pretty-print the menu 
     prettyPrintList(dinner, header="What's for dinner?")

