• Takes an array of histograms created by histogramFromNumbers and produces a CSV table from it. They must have the same bin-size for this function to work.

    The table has the following columns:

    • bin - The corresponding bin number
    • from - The exclusive lower bound of the bin
    • to - The inclusive upper bound of the bin
    • a column with the name of each histogram, containing its count of values in the corresponding bin

    Parameters

    • histograms: Histogram[]

      The histogram to convert (assumed to have the same ranges and bins)

    • countAsDensity: boolean = false

      If true, the count is divided by the total number of values (individually for each histogram, similar to pgfplots hist/density option)

    Returns Table