| unique_fmatch {hutilscpp} | R Documentation |
Distinct elements
Description
Using the fastmatch hash functions, determine
the unique elements of a vector, and the number of distinct elements.
Usage
unique_fmatch(x, nThread = getOption("hutilscpp.nThread", 1L))
uniqueN_fmatch(x, nThread = getOption("hutilscpp.nThread", 1L))
Arguments
x |
An atomic vector. |
nThread |
Number of threads to use. |
Value
Equivalent to unique(x) or data.table::uniqueN(x) respectively.
[Package hutilscpp version 0.10.5 Index]