Procedure HistogramGetFrequencies(histogram\_id, frequencies)

HistogramGetFrequencies

Through the procedure HistogramGetFrequencies you can obtain the observed frequencies for each interval in a histogram.

HistogramGetFrequencies(
     histogram_id,         ! (input) a scalar number
     frequencies           ! (output) a one-dimensional parameter
     )

Arguments

histogram_id

A scalar value representing a histogram that was previously created using the HistogramCreate procedure.

frequencies

A one-dimensional identifier that will be filled with the frequencies of each interval in the histogram. The cardinality of the domain set should be at least the number of intervals.

Return Value

The procedure returns 1 if the frequencies are retrieved successfully, or 0 otherwise.

See also

The procedures HistogramCreate, HistogramAddObservation, HistogramAddObservations. Histogram support in AIMMS is discussed in full detail in Creating Histograms of the Language Reference.