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_inline7443 

For each class tex2html_wrap_inline7445

For each tex2html_wrap_inline7447

If tex2html_wrap_inline7449 Then

Add i to tex2html_wrap_inline7453 in the target classified data

Continue with next tex2html_wrap_inline7455 if -first specified

EndIf

End

End

End

figure1090

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



Anssi Lensu
Thu May 17 15:00:44 EET DST 2001