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(output, pars, fill = "dodgerblue", breaks = "scott", title = "")

Arguments

fill

The colour to fill the bars with

breaks

The algorithgm to calculate breaks. Defaults to "scott", can also be "fandd"

title

The title of the plot, defaults to off.

parameter

The a vecotr of values that you want a histogram of.

Value

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


hferg/btrtools documentation built on May 17, 2019, 3:56 p.m.