R/uniques.R
uniques.Rd
Like unique(), but also sorted.
unique()
uniques(x)
A vector.
A sorted vector without duplicates.
base::unique(c(3, 1, 2, 3)) #> [1] 3 1 2 uniques(c(3, 1, 2, 3)) #> [1] 1 2 3