writeLatexTable             package:maDB             R Documentation

_W_r_i_t_e_s _a _m_a_t_r_i_x _o_r _d_a_t_a _f_r_a_m_e _i_n _l_a_t_e_x _f_o_r_m_a_t _t_o _a _f_i_l_e.

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

     'writeLatexTable' This function writes a matrix or a data frame
     formatted as a LaTeX table to a text file. The text size as well
     as the number of digits and the desired caption and label can be
     specified.

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

     writeLatexTable(data=NULL,file=NULL,append=TRUE,textsize="normalsize",caption=NULL,label=NULL,digits=NULL)

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

    data: The data that should be written. A matrix or a data frame,
          the column names will be used as column headers, the row
          names as row headers.

    file: The file where the table should be written into. If
          directories are specified, these directories (if not already
          existant) will be created. As file parameter also a file
          handle can be submitted.

  append: If the table should be appended to the text in the file.

textsize: The size of the text, possible alternatives for "normalsize"
          are "small", "scriptsize" and all other LaTeX text sizes.

 caption: The text that should be written into the table caption.

   label: The label text that can be used to link to this table.

  digits: The number of digits that should be used for all numeric
          values in the table.

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

     One important feature of this function is, that the table can be
     written into a file that has not to be in the working directory.
     So one can for example by submitting as file="doc/tabletest.tex"
     writing the table into the file "tabletest.tex", that is in  the
     subdirectory "doc" in the working directory. If this directory
     does not already exist, the function will create it. But remember
     that you have to use always the unix file separator "/", also in
     Windows!

_A_u_t_h_o_r(_s):

     Johannes Rainer

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

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

     'writeFigure'

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

