diagMCMC | R Documentation |
diagnose plots Various plots to test the effiency and convergence of MCMC
diagMCMC(codaObject, parName, outputF = "diagPlot")
codaObject |
output from |
parName |
parameter to be dignosised |
outputF |
output folder |
save diagnosis files in the output folder
Scripts have been modified from "Doing Bayesian Data Analysis (2nd)" by John K. Kruschke.
byesRes.A <- BernHierModel(F1.TypeA[, -1], saveName = "Family1.TypeA") parameterNames.A <- coda::varnames(byesRes.A)[1] diagMCMC(byesRes.A, parameterNames.A, outputF = "Family1.TypeA.parameters")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.