OrdinalRank Command

From GeoGebra Manual
Revision as of 22:50, 20 June 2011 by Murkle (talk | contribs) (Created page with "<noinclude>{{Manual Page|version=4.0}}</noinclude> {{command|statistics}} ;OrdinalRank[ <List L> ] :Returns a list, whose ''i''-th element is the rank of ''i''-th element of L ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



OrdinalRank[ <List L> ]
Returns a list, whose i-th element is the rank of i-th element of L (rank of element is its position in Sort[L]). If there are more equal elements in L which occupy positions from k to l in Sort[L], ranks from k to l are associated with these elements.
Example: OrdinalRank[{4, 1, 2, 3, 4, 2}] returns {5, 1, 2, 4, 6, 3}.
Example: OrdinalRank[{3, 2, 2,1}] returns {4, 3, 2, 1}.


Note: Also see command: TiedRank
© 2024 International GeoGebra Institute