plothist: Plot Relative Frequency Histogram

Description Usage Arguments Details Author(s) See Also Examples

Description

Produces a relative frequency histogram.

Usage

1
PlotRelativeFrequency(x, ylab="Relative Frequency", ...)

Arguments

x

A "histogram" object (created by hist) representing a pre-binned dataset.

ylab

y-axis label for the plot.

...

Additional parameters are passed to plot().

Details

The default plot.histogram function supports Frequency or Density plots, but does not provide a way to produce a relative frequency histogram. This function plots this type of histogram.

Author(s)

Murray Stokely mstokely@google.com

See Also

histogramtools-package, hist, plot.histogram.

Examples

1
2
3
x <- runif(100)
h <- hist(x, plot=FALSE)
PlotRelativeFrequency(h)

Example output



HistogramTools documentation built on May 2, 2019, 6:15 p.m.