
![]() | |
| By use of the column track bars col1 was sorted to 2 clusters first. Subsequently col2 was sorted to 2 clusters as well. | This time col2 was cluster sorted first. col1 is then subclustered |
1 2 3 4 5 6cluster_value( sorted_row_nr ) = clu( sorted_row_nr )
idx 2, 5, 3, 4, 6, 1 original_row_nr = idx(sorted_row_nr )
rnk 6, 1, 3, 4, 2, 5 sorted_row_nr = rnk(original_row_nr)
clu 11, 12, 12, 21, 21, 22
111 Cairo Egypt Africa 9.0
211 Buenos Aires Argentina America 1.2
221 Sao Paulo Brazil America 2.2
231 Mexico City Mexico America 2.8
241 New York City USA America 1.1 241 Los Angeles USA America 1.4
311 Beijing China Asia 1.9 311 Shanghai China Asia 3.2 311 Hong Kong-Shenzhen China Asia 5.2
321 Delhi India Asia 5.8 321 Mumbai India Asia 8.2 321 Calcutta India Asia 8.5
331 Jakarta Indonesia Asia 3.7
341 Osaka-Kobe-Kyoto Japan Asia 2.5 341 Tokyo Japan Asia 4.0
351 Seoul Korea Asia 4.0
361 Karachi Pakistan Asia 0.7
371 Metro Manila Philippin Asia 6.5
411 London England Europe 1.1
421 Moscow Russia Europe 1.0
| file options | type | mini | ⇒ more file sort options: Index, Rank, CLUSter, Groups, Descending, ERRor | |||
FIle | txt | fi=name | (required) name is a ⇒ matrix file, as described in MatrixExplorer | |||
Column | num(1) | col=nr |
| _
| _ cluster sort is activated when Groups=... is present ( ⇒ examples of cluster sorts) | _ |
Option | num | opt=1 | =1: sort character columns case sensitive (default is 0). Disregarded for numeric columns. | |||
PhySsort | log | phys=P |
| _ | _ |
| options | type | mini | ⇒ more vector sort options: Index, Rank, CLUSter, Groups, Descending, ERRor |
Vector | vec(1) | v=O | O is the original vector of length lenO to be sorted (required) |
Sorted | vec(1) | s=S | vector S (length lenS) is assigned the sorted vector O. Only the first MIN(lenO, lenS) elements are assigned. SORT(Vector=O, Sorted=S)
|
| option | type | mini | X, R, and C for a vector sort are vectors X, R, and C for file sorts can be either a file column number, or a vector with 1 element per row: |
Index | num | idx=X | the index vector X is assigned the index of Sorted in Original.
|
Rank | num | rnk=R | the rank vector R is assigned the index of Original in Sorted⇒ example |
CLUSter | num | clus=C | the cluster vector C is assigned the compounded cluster value of all sorted columns. A column is divided in up to 15 clusters. For file sorts a maximum of Groups=... clusters is generated. |
Groups | num(2) | grps=g | max nr of Vector cluster groups Groups= must be postfixed to its Column= or Vector= ⇒ example |
Descending | log(2) | desc=1 | sort descending Descending= must be postfixed to its Column= or Vector= |
ERror | LBL | err=999 | on error goto 999 |
|
How your donation will be used, and how to get a HicEst key code in return ©2000-2010 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved. Impressum |