histabunch {Boom}R Documentation

A Bunch of Histograms

Description

Plot a bunch of histograms describing the marginal distributions the columns in a data frame.

Usage

histabunch(x, gap = 1, same.scale = FALSE, boxes = FALSE,
           min.continuous = 12, max.factor = 40,
           vertical.axes = FALSE, ...)

Arguments

x

A matrix or data frame containing the variables to be plotted.

gap

The gap between the plots, measured in lines of text.

same.scale

Logical. Indicates whether the histograms should all be plotted on the same scale.

boxes

Logical. Indicates whether boxes should be drawn around the histograms.

min.continuous

Numeric variables with more than min.continuous unique values will be plotted as continuous. Otherwise they will be treated as factors.

max.factor

Factors with more than max.factor levels will be beautified (ha!) by combining their remaining levels into an "other" category.

vertical.axes

Logical value indicating whether the histograms should be given vertical "Y" axes.

...

Extra arguments passed to hist (for numeric variables) or barplot (for factors).

Value

Called for its side effect, which is to produce multiple histograms on the current graphics device.

Author(s)

Steven L. Scott

See Also

hist barplot

Examples

  data(airquality)
  histabunch(airquality)

[Package Boom version 0.9.15 Index]