sort: The sort() generic

Description Usage Arguments Note

Description

Generic for the sort function

Usage

1
sort(x, decreasing = FALSE, ...)

Arguments

x

An R object

decreasing

logical. Should the sort be increasing or decreasing? For the "radix" method, this can be a vector of length equal to the number of arguments in .... For the other methods, it must be length one. Not available for partial sorting.

...

arguments to be passed to or from methods or (for the default methods and objects without a class) to sort.int.

Note

base::sort is an S3 generic.


cdeterman/generics documentation built on May 20, 2019, 8:01 p.m.