Search notes:

R function: unique

unique( c( 2, 2, 3, 4, 4))
# [1] 2 3 4

unique( c( 4, 3, 2, 4, 2))
# [1] 4 3 2
Github repository about-r, path: /functions/unique.R

See also

table
Exploring R objects
Index to (some) R functions

Index