next up previous contents
Next: Merging a grouping and Up: Data reorganization Previous: Finding unique indexes from

Finding the indexes of a classified data from another classified data

 

findcl Find the indexes of a classified data from another classified data
-c1 <cldata1> classified data for classes
-c2 <cldata2> classified data to be mapped
-cout <cldata> resulting classified data
[-first] locate only the first matching index

This operation matches the indexes of classified data <cldata2> to the indexes of classified data <cldata1>, and replaces indexes in <cldata2> with the indexes of that class of <cldata1>, from which the first occurrence or all occurences are found. The whole procedure is presented below, and a step for matching one index is described as a figure:

 
For each  tex2html_wrap_inline7774 

For each class tex2html_wrap_inline7776

For each tex2html_wrap_inline7778

If tex2html_wrap_inline7780 Then

Add i to tex2html_wrap_inline7784 in the target classified data

Continue with next tex2html_wrap_inline7786 if -first specified

EndIf

End

End

End

figure1120

Example: See the example of joinind (section 3.3).


next up previous contents
Next: Merging a grouping and Up: Data reorganization Previous: Finding unique indexes from

Anssi Lensu
Tue Jul 23 11:58:18 EET DST 2002