f_unique | R Documentation |
Returns sorted unique elements.
f_unique(
v.vector,
b.show.freq = FALSE,
b.sort.by.val = FALSE,
b.sort.by.freq = FALSE,
n.char = "all"
)
v.vector |
Vector with elements to get unique values of. |
b.show.freq |
Should we add the frequency of values occuring? (default: FALSE). |
b.sort.by.val |
Should results be sorted by values? (default: FALSE). |
b.sort.by.freq |
Should results be sorted by frequency? (default: FALSE). |
n.char |
The number of characters to use of each value (default: "all"). |
-
Concatenated string of items.
Pieter Overdevest
v.result <- f_unique(
v.vector = c(50, 30, 100, 100, 100, 30),
b.show.freq = FALSE,
b.sort.by.val = FALSE,
b.sort.by.freq = FALSE,
n.char = "all"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.