Learn R Programming

IOHanalyzer (version 0.1.8.10)

arrange: S3 sort function for DataSetList

Description

Sorts a DataSetList based on the custom specified attributes ('algId', 'DIM' or 'funcId'). Default is as ascending, can be made descending by adding a - in front of the attribute. Sorting accross multiple attributes is supported, in the order they are specified.

Usage

arrange(dsl, ...)

# S3 method for DataSetList arrange(dsl, ...)

Arguments

dsl

The DataSetList to sort

...

attribute by which `dsl` is sorted. Multiple attributes can be specified.

Examples

Run this code
arrange(dsl, DIM, -funcId, algId)

Run the code above in your browser using DataLab