fullySorted: Sort a Data Frame by all of its Columns

View source: R/dataFrame.R

fullySortedR Documentation

Sort a Data Frame by all of its Columns

Description

Sort a Data Frame by all of its Columns

Usage

fullySorted(x, decreasing = FALSE, ..., renumber.rows = TRUE)

Arguments

x

data frame

decreasing

passed to order

...

further arguments passed to order

renumber.rows

if TRUE (default) the rows in the returned data frame are renumbered from 1 to the number of rows in x

Examples

fullySorted(head(iris))
fullySorted(head(iris), decreasing = TRUE)
fullySorted(head(iris[, 5:1]))
fullySorted(head(iris[, 5:1]), decreasing = TRUE)


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.