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....


Class: TDataTable
Declaration: function CheckDichotomousColumn (col: integer; var v1, v2: double): boolean;

The function CheckDichotomousColumn checks whether the data in column col are dichotomous. If so, the function returns TRUE and the two values in the variable parameters v1 and v2. If the function returns FALSE the values in v1 and v2 may be undefined.

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

Last Update: 2012-Oct-20