order.ldat: Order an ldat

View source: R/order_ldat.R

order.ldatR Documentation

Order an ldat

Description

Order an ldat

Usage

## 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

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


djvanderlaan/lvec_stats documentation built on Oct. 4, 2022, 7:02 p.m.