check.parameters {MCMCpack} | R Documentation |
Check the simulation parameters to make sure they are appropriate. This is called by the MCMC* model functions.
check.parameters(burnin, mcmc, thin, fcn, tune=NA)
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. |
Returns zero if exits cleanly.
check.parameters(100,1000,10,"MCMCregress")