ggHist: ggHist

Description Usage Arguments Value

View source: R/miscFunctions.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/BTprocessR documentation built on March 8, 2020, 11:45 a.m.