powered by
Internal function to check the number of MCMC samples.
checkNumberOfSamples(R, thin, verbose = FALSE)
No return value, called for side effects.
The number of iterations in the sampler.
The factor by which the samples generated are thinned, e.g. if ``thin=50`` only every 50th sample is kept.
Logical inficating if warnings should be printed.
R <- 10000 thin <- 50 checkNumberOfSamples(R, thin)
Run the code above in your browser using DataLab