Rdocumentation
powered by
Learn R Programming
PAWL (version 0.5)
PlotHist: Plot a histogram of one component of the chains
Description
This function takes the result of
adaptiveMH
or of
pawl
, and a component index, and draws a histogram of it.
Usage
PlotHist(results, component)
Arguments
results
Object of class
"list"
: either the output of
pawl
or of
adaptiveMH
.
component
Object of class
"numeric"
: specifies the index of the component to plot on the x-axis.
Value
The function returns a ggplot2 object.
See Also
ggplot