ggHist: ggHist

Description Usage Arguments Value

View source: R/ggHist.R

Description

A function to plot a nice histogram - one that uses ggplot2 but has sensible break behaviour in R. Produces a single histogram but is mostly called internally for things like plotPosts.

Usage

1
ggHist(posterior, param, title)

Arguments

posterior

The posterior of a bayestraits analysis (from loadPosterior)

param

The parameter to plot a histogram of.

Value

A histogram with nice ggplot aesthetics, and good bin widths.


hferg/bayestraitr documentation built on May 28, 2019, 8:55 p.m.