View source: R/unique_fmatch.R
| unique_fmatch | R Documentation |
Using the fastmatch hash functions, determine
the unique elements of a vector, and the number of distinct elements.
unique_fmatch(x, nThread = getOption("hutilscpp.nThread", 1L))
uniqueN_fmatch(x, nThread = getOption("hutilscpp.nThread", 1L))
x |
An atomic vector. |
nThread |
Number of threads to use. |
Equivalent to unique(x) or data.table::uniqueN(x) respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.