DbIntegerFrequencyPlotData

An IntegerFrequencyPlotDataIfc backed by a list of FrequencyData rows retrieved from the KSL database (table tblFrequency).

The constructor sorts rows by FrequencyData.value so that the ordering contract of IntegerFrequencyPlotDataIfc is satisfied regardless of the order in which the database returns rows.

Parameters

rows

frequency records from the database; may be in any order

Constructors

Link copied to clipboard
constructor(rows: List<FrequencyData>)

Properties

Link copied to clipboard
open override val frequencies: IntArray

Returns an array of size numberOfCells containing the frequencies for each value observed. The 0th element is the frequency for the value stored at element 0 of the array returned by the values property

Link copied to clipboard
open override val proportions: DoubleArray

Returns an array of size numberOfCells containing the proportion by value. The 0th element is the proportion for the value stored at element 0 of the array returned by the values property, etc.

Link copied to clipboard
open override val values: IntArray

Returns an array of size numberOfCells containing the observed values increasing by value. The 0th element of the array contains the smallest value observed, 1st element the next bigger value, etc.