getBugsOutput             package:rbugs             R Documentation

_C_o_l_l_e_c_t _t_h_e _M_C_M_C _s_a_m_p_l_e_s _f_r_o_m _B_U_G_S

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

     Collect the MCMC samples from BUGS.

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

     getBugsOutput(n.chains, workingDir)

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

n.chains: The number of chains BUGS had run.

workingDir: A character string specifying the name of the directory
          where the output files are saved.

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

     This function assumes that under '\workingDir', there is a coda
     index file 'codaIndex.txt', and the coda output for 'n.chains'
     chains are named as coda1.txt, coda2.txt, ...

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

     A list of matrix whose columns and rows contain the monitored
     parameters and the MCMC iterations, respectively.

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

     Jun Yan jyan@stat.uiowa.edu

