write.Scythe            package:MCMCpack            R Documentation

_W_r_i_t_e _a _M_a_t_r_i_x _t_o _a _F_i_l_e _t_o _b_e _R_e_a_d _b_y _S_c_y_t_h_e

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

     This function writes a matrix to an ASCII file that can be  read
     by the Sycthe Statistical Library.  Scythe requires that input
     files contain the number of rows and columns in the first row,
     followed by the data.

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

       write.Scythe(outmatrix, outfile=NA, overwrite=FALSE)

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

outmatrix: The matrix to be written to a file.

 outfile: The file to be written. This can include path information.

overwrite: A logical that determines whether an existing file should be
          over-written.  By default, it protects the user from
          over-writing existing files.

_V_a_l_u_e:

     A zero if the file is properly written.

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

     Andrew D. Martin, Kevin M. Quinn, and Daniel Pemstein.  2004.  
     _Scythe Statistical Library 1.0._ <URL: http://scythe.wustl.edu>.

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

     'write.Scythe'

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

       ## Not run: write.Scythe(mymatrix, "myfile.txt")

