runjags-class have specialised options available for print, plot and summary. These allow various options for controlling how the output is presented, including sub-selection of variables of interest (using partial matching).
add.summary(runjags.object, vars = NA, mutate = NA, psrf.target = 1.05, normalise.mcmc = TRUE, modeest.opts = list(), confidence = c(0.95), autocorr.lags = c(10), custom = NULL, silent.jags = runjags.getOption("silent.jags"), plots = runjags.getOption("predraw.plots"), plot.type = c("trace", "ecdf", "histogram", "autocorr", "key", "crosscorr"), col = NA, summary.iters = 20000, trace.iters = 1000, separate.chains = FALSE, trace.options = list(), density.options = list(), histogram.options = list(), ecdfplot.options = list(), acplot.options = list())
"summary"(object, ...)
"plot"(x, plot.type = c("trace", "ecdf", "histogram", "autocorr", "crosscorr"), vars = NA, layout = runjags.getOption("plot.layout"), new.windows = runjags.getOption("new.windows"), file = "", mutate = NULL, col = NA, trace.iters = NA, separate.chains = NA, trace.options = NA, density.options = NA, histogram.options = NA, ecdfplot.options = NA, acplot.options = NA, ...)
"print"(x, vars = NA, digits = 5, ...)
"print"(x, layout = runjags.getOption("plot.layout"), new.windows = runjags.getOption("new.windows"), file = "", ...)
"plot"(x, layout = runjags.getOption("plot.layout"), new.windows = runjags.getOption("new.windows"), file = "", ...)runjags-class.gelman.diag). This is somewhat arbitrary, but 1.05 is a commonly used figure.mlv function to calculate the mode of continuous variables. Ignored if the mode.continuous option in runjags.options is set to FALSE.runjags.optionslattice package with some modifications.runjags-class.pdf for the plot.runjags method, or the default print method for the print.runjags method.runjags-class.runjags.options.runjags.options, which depends on the system.pdf. The default "" means produce plots in the active graphics device.runjags-class with the new sumamry statistics (and plots if selected) stored for future use.
The add.summary function returns an object of class runjags, with the new summary statistics (and plots if selected) stored internally for future use. Note that many of the summary method options can be passed to run.jags when the model is run and will be remembered for future output, although they can be modified explicitly by subsequent calls to summary or add.summary. If the summary statistics or plots requested are identical to those stored inside the runjags object, they will not be re-calculated. Calculation of the mode of continuous variables is possible, but requires the suggested modeest package.
runjags-class for details on other methods available for runjags class objects