Description Usage Arguments Details Value Author(s) See Also Examples
keypos
returns the positions of the (fact table) elements that participate in their sorted unique subset (dimension table)
1 2 3 |
x |
a vector or a data frame or an array or |
method |
NULL for automatic method selection or a suitable low-level method, see details |
... |
ignored |
NAs are sorted first in the dimension table, see ramorder.integer64
.
This function automatically chooses from several low-level functions considering the size of x
and the availability of a cache.
Suitable methods are sortorderkey
(fast ordering)
and orderkey
(memory saving ordering).
an integer vector of the same length as codex containing positions relativ to codesort(unique(x), na.last=FALSE)
Jens Oehlschlägel <Jens.Oehlschlaegel@truecluster.com>
unique.integer64
for the unique subset and match.integer64
for finding positions in a different vector.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.