Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Statistics[OrderByRank] - order data items according to their ranks
Calling Sequence
OrderByRank(X, R, options)
Parameters
X
-
data
R
ranks
options
(optional) equation(s) of the form option=value where option is one of order or unique; specify options for the OrderByRank function
Description
The OrderByRank command orders the elements/rows of X according to their ranks.
The first parameter X is the data set (Array).
The second parameter R is the ranks data (list or Array).
Options
The options argument can contain one or more of the options shown below.
order = ascending or descending -- Indicate whether the elements of X should be sorted in the ascending or descending order. The default value is order=ascending.
unique=truefalse -- If this option is set to true, all multiple occurrences of elements from X will be removed. The default value is unique=false.
Notes
The OrderByRank command creates a copy of the original Array.
Examples
Sort two arrays simultaneously.
Error, (in Statistics:-OrderByRank) duplicate rank: 3
See Also
Statistics, Statistics[Computation], Statistics[Rank], Statistics[Sort]
Download Help Document