
Last chance! 50% off unlimited learning
Sale ends in
Makes time series plots of the parameters (not the random effects) of an MCMC run.
checkChain(chain, parameters=NULL, oneFigure=TRUE)
The result from restoreParams
, or the sims.array componento f a bugs
call.
Vector of character strings giving names of parameters to plot. Default is all parameters with names starting with either "beta", "intercept", or "SD".
if TRUE
, use par(mfrow=c(a,b))
to put all plots
on the same device. Otherwise create a new device for each plot.
Plots are produced, nothing is returned
# NOT RUN {
<!-- % create a sample MCMC result -->
# }
# NOT RUN {
thechain = list(beta = array(1, c(10, 3,4),
dimnames = list(NULL, NULL, paste("beta[", 1:4, "]", sep=""))),
intercept = matrix(1, 10, 3))
checkChain(thechain)
# }
Run the code above in your browser using DataLab