Unique-Related Functions
Convenience functions to test uniqueness, or to return the number of unique or duplication values, or a unique sorted vector.
The which.unique function returns a vector of indices.
This will be produce a vector of unique values, if the original vector is subsetted using the indices.
is.each.equal (x) is.each.unique (x) n.unique (x) n.duplicated (x) which.unique (x) usv (x)
x |
An integer/numeric vector. |
x <- c (2, 2, 1, 1, 10, 12) n.unique (x) usv (x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.