DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


IsConstantRow

Declaration: TDataTable.IsConstantRow (RowIx: longint; var ConstVal: double): boolean;
The function IsConstantRow returns TRUE if all values in the row RowIx are the same. The found constant value is returned in the variable parameter ConstVal (please note that ConstVal is undefined if the function returns a FALSE value.

Hint: The comparison of the values is based on the comparison of floating point numbers, thus rounding effects have to be taken into consideration.