pairSort: Sorted vector index.

Description Usage Arguments Value Examples

View source: R/RcppExports.R

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))

alR documentation built on Dec. 7, 2017, 5:03 p.m.