PreBinnedHistogram

Share:

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

1
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.

Author(s)

Murray Stokely mstokely@google.com

See Also

histogramtools-package, hist.