Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

unique_only

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

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)

GDINA

The Generalized DINA Model Framework

v2.8.0
GPL-3
Authors
Wenchao Ma [aut, cre, cph], Jimmy de la Torre [aut, cph], Miguel Sorrel [ctb], Zhehan Jiang [ctb]
Initial release
2020-05-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.