Rfast (version 1.7.3)

Order : Order

Description

Order function like R's order.

Usage

Order(x)

Arguments

x
A Numeric vector with data.

Value

Sort the vector and returns the indices of each element that it has before the sorting.

Details

This function implements the R's "Order" function.

See Also

Match

Examples

Run this code
y <- rnorm(100)
b <- Order(y)

Run the code above in your browser using DataCamp Workspace