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


Dichotomize

Declaration: TMatrix.Dichotomize (Threshold: double; var ResultArray: TBool2DArray): integer;
The function Dichotomize compares the values of the matrix to the threshold Threshold and fills the array ResultArray with the result of the comparison. TRUE values will be stored in ResultArray for all matrix cells whose values exceed the threshold. The size of the array ResultArray will be automatically adjusted to fit the size of the matrix.