unique_only {GDINA}R Documentation

Unique values in a vector

Description

Unique values in a vector

Usage

unique_only(vec)

Arguments

vec

a vector

Value

sorted unique values

See Also

unique

Examples


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)




[Package GDINA version 2.9.4 Index]