 Usage:  regdat = dentoreg (dendat, binlkm)  
 
 Input:

  dendat                 n x p matrix: data matrix of i.i.d. observations. 
                         
  binlkm                 integer >=2: gives number of bins for a single dimension 
                         
 Output:

  regdat                 list, consists of regdat.dep, regdat.ind: 
                         regdat.dep is (binlkm^p) x 1 vector, it contains 
                         the values of the new response variable, 
                         regdat.ind is (binlkm^p) x p matrix, it contains 
                         the coordinates of the centers of the bins, these are 
                         the new regression variables. 
                         
--------------------------------------------------------------
(C) MD*TECH Method and Data Technologies, 17.8.2000
