PlotHist: Plot a histogram of one component of the chains

Description Usage Arguments Value Author(s) See Also

View source: R/plotutils.R

Description

This function takes the result of adaptiveMH or of pawl, and a component index, and draws a histogram of it.

Usage

1
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.

Author(s)

Luke Bornn <bornn@stat.harvard.edu>, Pierre E. Jacob <pierre.jacob.work@gmail.com>

See Also

ggplot



PAWL documentation built on May 19, 2017, 5:08 p.m.
Search within the PAWL package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.