pairSort: Sorted vector index.

Description Usage Arguments Value Examples

Description

The sorted vector is returned along with the original index of the vector it belonged to.

Usage

1

Arguments

x

A real-valued vector to be sorted.

Value

A list with two components:

Examples

1
pairSort(c(5, 2, 6))

mtloots/alR documentation built on May 23, 2019, 8:18 a.m.