Unique values in a vector
Unique values in a vector
unique_only(vec)
vec |
a vector |
sorted unique values
vec <- c(4,2,3,5,4,4,4) unique_only(vec) # see the difference from unique unique(vec) vec <- letters[1:5] unique_only(vec)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.