sort_samples {dataset} R Documentation

sort the sample dataset

Description

Usage

sort_samples(x, order.id,
    desc = FALSE);

Arguments

x

should be a collection of the sample dataset

order.id

this parameter value could be a: 1. the sample id collection 2. a feature index, start from base 1

desc

sort the feature data in desc order, this parameter only works when the order id parameter is a single feature index value. [as boolean]

env

[as Environment]

Details

Authors

MLkit

Value

the input sample data will be sorted based on the given `order_id` vector.

clr value class

Examples


[Package dataset version 1.0.0.0 Index]