A list with one component per histogram (component of data), giving the bin midpoints
y
A list with one component per histogram (component of data), giving the scaled bin counts
Arguments
data
A list in which each component corresponds to a separate histogram and is a vector of values to be shown in
each histogram.
nBreaks
Number of breaks in the combined plot.
col
Color of the lines. Should be a vector of the same length as data.
scaleBy
Method to make the different histograms comparable. The counts are scaled such that either the total area or
the maximum are the same for all histograms, or the histograms are shown without scaling.
cumulative
Logical: should the cumulative distribution be shown instead of the density?