 Usage:  u = recode(c, p)  

 

 Input:



  c                      l x 1 matrix of upper bounds (cutpoints) of 

                         intervals according to p 

                         

  p                      n x 1 matrix of categories (positive integers 

                         1,2,...,K) which have to be recoded into a 

                         smaller number of integers 1,2,...,l 

                         

                         

 Output:



  u                      n x 1 matrix containing the new categories of p 

                         

--------------------------------------------------------------

(C) MD*TECH Method and Data Technologies, 21.9.2000

