plot.vb {LaplacesDemon}  R Documentation 
Plot the output of VariationalBayes
Description
This may be used to plot, or save plots of, the iterated history of
the parameters and variances, and if posterior samples were taken,
density plots of parameters and monitors in an object of class
vb
.
Usage
## S3 method for class 'vb'
plot(x, Data, PDF=FALSE, Parms, ...)
Arguments
x 
This required argument is an object of class 
Data 
This required argument must receive the list of data that was
supplied to 
PDF 
This logical argument indicates whether or not the user wants Laplace's Demon to save the plots as a .pdf file. 
Parms 
This argument accepts a vector of quoted strings to be matched for
selecting parameters for plotting. This argument defaults to

... 
Additional arguments are unused. 
Details
The plots are arranged in a 3 \times 3
matrix. The
purpose of the iterated history plots is to show how the value of each
parameter, variance, and the deviance changed by iteration as the
VariationalBayes
attempted to maximize the logarithm
of the unnormalized joint posterior density. If the algorithm
converged, and if sir=TRUE
in
VariationalBayes
, then plots are produced of
selected parameters and all monitored variables.
Author(s)
Statisticat, LLC. software@bayesianinference.com
See Also
Examples
### See the VariationalBayes function for an example.