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.


alexkowa/sdcMicro documentation built on March 12, 2024, 11:46 p.m.