orderData_cpp: Reorder data

View source: R/RcppExports.R

orderData_cppR Documentation

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)

Arguments

data

micro data set containing only numeric values.

orderIndex

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

Value

ordered data set.


sdcMicro documentation built on Sept. 27, 2023, 5:07 p.m.