plotReg: Plot acf, running mean, density functions and trace histories

Description Usage Arguments Details Value Author(s) See Also

Description

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.

Usage

1
2
plotReg(res, keep.rares.plot = FALSE, acf = NULL, d = NULL, 
        rmean = NULL, tr = NULL)

Arguments

res

An object of class reg.

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, plotReg is going to plot all the graphs (auctocorrelation, density, running mean and trace). To plot only one, two or three graphs, set one, two or three of these arguments as TRUE.

Details

To plot only one type of graph, you can also use the functions plotACF, plotRmean, plotTrace and plotDensity.

Value

Plots of autocorrelation functions, density functions, running mean and trace histories.

Author(s)

Original version by Brian J. Smith.

Adapted version by Raquel Iniesta. riniesta@sjd-ssm.com

See Also

plotACF, plotTrace, plotRmean, plotDensity


BayHap documentation built on May 2, 2019, 12:44 a.m.