HistogramTools (version 0.3.2)

PreBinnedHistogram: PreBinnedHistogram

Description

Takes a set of already binned data represented by a vector of $n+1$ breaks and a vector of $n$ counts and returns a normal R histogram object.

Usage

PreBinnedHistogram(breaks, counts, xname="")

Arguments

breaks
A numeric vector of n+1 breakpoints for the histogram.
counts
A numeric vector of n counts for each bucket of the histogram.
xname
A character string with the name for this histogram.

See Also

histogramtools-package, hist.