order.ldat: Order an ldat

Description Usage Arguments Value Examples

View source: R/order_ldat.R

Description

Order an ldat

Usage

1
2
## S3 method for class 'ldat'
order(x, ...)

Arguments

x

ldat to sort

...

unused.

Value

Returns the order of x. Unlike the default order function in R, the sort used is not stable (e.g. in case there are multiple records with the same value in x, there relative order after sorting is not defined).

Examples

1
2
x <- as_ldat(iris)
o <- order(x[c("Sepal.Width", "Sepal.Length")])

ldat documentation built on March 26, 2020, 7:59 p.m.

Related to order.ldat in ldat...