Learn R Programming

sdcMicro (version 5.7.8)

orderData_cpp: Reorder data

Description

Reorders the data according to a column in the data set.
NOTE: This is an internal function used for testing the C++-function orderData which is used inside the C++-function recordSwap() to speed up performance.

Usage

orderData_cpp(data, orderIndex)

Value

ordered data set.

Arguments

data

micro data set containing only numeric values.

orderIndex

column index in data refering to the column by which data should be ordered.