该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


The Rank() function returns the positions of the numbers in a vector or list, as if the numbers were sorted from lowest to highest.
E = [1 -2 3 -4 0 5 1 8 -7];
R = Rank( E );
If E were sorted from lowest to highest, the first number would be -7. The position of -7 in E is 9.
The original matrix E can then be sorted using the matrix R as subscripts to E.
The Ranking Tie() function returns ranks for the values in a vector or list, with ranks for ties averaged. Similarly, Ranking() returns ranks for the values in a vector or list, but the ties are ranked arbitrarily.
E = [1 -2 3 -4 0 5 1 8 -7];
E = [1 -2 3 -4 0 5 1 8 -7];
Ranking( E );
The Sort Ascending() and Sort Descending() functions sort vectors.
E = [1 -2 3 -4 0 5 1 8 -7];
E = [1 -2 3 -4 0 5 1 8 -7];