The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



IsDichotomousColumn


Unit: SDL_datatable
Class: TDataTable
Declaration: function IsDichotomousColumn (ColIx: longint): boolean;

The function IsDichotomousColumn checks whether the values in the column ColIx are dichotomous or not. The valid range of the parameter ColIx is from 1 to NrOfColumns.

If the column contains only two different values the function returns TRUE. Please note that in the case of a constant value in all cells of the column ColIx the function returns a FALSE value. The same is true if ColIx contains an invalid index.

Hint: This function works independent of the level of measurement assigned to the column.



Last Update: 2023-Dec-14