plotReg {BayHap} | R Documentation |
Displays plots of the autocorrelation function, the running mean, the density functions and the trace histories for the parameter(s) in the MCMC sequence. This function is suitable to plot objects of class reg
.
plotReg(res, keep.rares.plot = FALSE, acf = NULL, d = NULL, rmean = NULL, tr = NULL)
res |
An object of class |
keep.rares.plot |
Logical. Indicates if plots for estimates of rare category must be shown. |
acf,d,rmean,tr |
If all these arguments are set to the default value NULL, |
To plot only one type of graph, you can also use the functions plotACF
, plotRmean
, plotTrace
and plotDensity
.
Plots of autocorrelation functions, density functions, running mean and trace histories.
Original version by Brian J. Smith.
Adapted version by Raquel Iniesta. riniesta@sjd-ssm.com
plotACF
, plotTrace
, plotRmean
, plotDensity