powered by
Plot a bunch of histograms describing the marginal distributions the columns in a data frame.
histabunch(x, gap = 1, same.scale = FALSE, boxes = FALSE, min.continuous = 12, max.factor = 40, vertical.axes = FALSE, ...)
A matrix or data frame containing the variables to be plotted.
The gap between the plots, measured in lines of text.
Logical. Indicates whether the histograms should all be plotted on the same scale.
Logical. Indicates whether boxes should be drawn around the histograms.
Numeric variables with more than min.continuous unique values will be plotted as continuous. Otherwise they will be treated as factors.
min.continuous
Factors with more than max.factor levels will be beautified (ha!) by combining their remaining levels into an "other" category.
max.factor
Logical value indicating whether the histograms should be given vertical "Y" axes.
Extra arguments passed to hist (for numeric variables) or barplot (for factors).
Called for its side effect, which is to produce multiple histograms on the current graphics device.
hist barplot
hist
barplot
# NOT RUN { data(airquality) histabunch(airquality) # }
Run the code above in your browser using DataLab