check.parameters          package:MCMCpack          R Documentation

_M_C_M_C_p_a_c_k _H_e_l_p_e_r _F_u_n_c_t_i_o_n: _C_h_e_c_k _S_i_m_u_l_a_t_i_o_n _P_a_r_a_m_e_t_e_r_s

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

     Check the simulation parameters to make sure they are appropriate.
     This is called by the MCMC* model functions.

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

       check.parameters(burnin, mcmc, thin, fcn, tune=NA)

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

  burnin: The number of burn-in iterations for the sampler.

    mcmc: The number of MCMC iterations for the sampler.

    thin: The thinning interval used in the simulation.  The number of
          MCMC iterations must be divisible by this value.

     fcn: String containing function name (with no parentheses). It is
          used to throw informative errors.

    tune: (Optional) tuning parameter for models that have a single
          Metropolis-Hastings tuning parameter.

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

     Returns zero if exits cleanly.

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

       check.parameters(100,1000,10,"MCMCregress")

