sunique: Unique values sorted

View source: R/sunique.r

suniqueR Documentation

Unique values sorted

Description

Derive the unique values in a vector and sort the result

Usage

sunique(x)

Arguments

x

values to be uniqued and sorted

Value

Sorted unique values in vector x

Note

This function is different from sort(unique(x)) which omits any NAs in the result. sunique

See Also

lunique

Examples

sunique(round(100*runif(100)))

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.