mcmcSummary {smfsb} | R Documentation |
This function summarises and plots tabular MCMC output such as that
generated by the function normgibbs
.
mcmcSummary(mat, rows = 4, lag.max=100, bins=30, show = TRUE, plot = TRUE)
mat |
Matrix of MCMC output, where the columns represent variables and the rows represent iterations. |
rows |
Number of variables to plot per page on the graphics device. |
lag.max |
Maximum lag for the ACF plots. |
bins |
Approximate number of bins to use for the histograms. |
show |
If |
plot |
If |
An R summary
object.
out=normgibbs(N=1000,n=15,a=3,b=11,cc=10,d=1/100,xbar=25,ssquared=20) names(out)=c("mu","tau") mcmcSummary(out,rows=2,bins=10)