write.madata             package:maanova             R Documentation

_W_r_i_t_e _M_i_c_r_o _A_r_r_a_y _d_a_t_a _t_o _a _T_A_B _d_e_l_i_m_i_t_e_d _s_i_m_p_l_e _t_e_x_t _f_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     This function is used to write the contents of an object of class
     'madata' to a TAB delimited simple text file.

_U_s_a_g_e:

     write.madata(madata, datafile="madata.txt", designfile="design.txt") 

_A_r_g_u_m_e_n_t_s:

  madata: The object to be output. It must be an object of class
          'madata'.

datafile: The output file name for the data.

designfile: The output file name for the design file.

_A_u_t_h_o_r(_s):

     Hao Wu

_E_x_a_m_p_l_e_s:

     # load abf1 data
     data(abf1)
     # take out first 6 arrays
     ## Not run: 
     smalldata <- subset(abf1, array=1:6)
     # write to file
     write.madata(smalldata, datafile="smallabf1.txt",
           designfile="smallabf1design.txt")
     ## End(Not run)

