orderBy {linq} R Documentation

Sorts the elements of a sequence in ascending order according to a key.

Description

Usage

orderBy(sequence,
    getKey = NULL,
    desc = FALSE);

Arguments

sequence

A sequence of values to order.

getKey

A function to extract a key from an element. and this parameter value can also be the field name or column name to sort.

envir

[as Environment]

Details

Authors

SMRUCC genomics Institute

Value

An System.Linq.IOrderedEnumerable`1 whose elements are sorted according to a key. The sort result could be situations: 1. a vector which is sort by the element evaluated value 2. a list which is sort by the specific element value 3. a dataframe which is sort its rows by a specific column value

clr value class

Examples


[Package linq version 2.33.856.6961 Index]