Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: sort rank

Quantlet: order
Description: Computes the order vector of a given vector.

Usage: o = order (x)
Input:
x n vector
Output:
o n vector consisting of the order values

Example:
library("xplore")
x = #(4,1,6,5)
order(x)

Result:
Contents of o
[1,]     2
[2,]     1
[3,]     4
[4,]     3



Author: T. Koetter, 19960613 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006