Description Usage Arguments Details Value See Also Examples
Get an atomic representation of a data object.
1 | idproxy(x)
|
x |
a data object. |
An ‘identity proxy’ is either an atomic vector or
a dataset of identity proxies. These proxies are used to
identify the distinct entries in x
(or, for matrix-like x
, the
distinct rows). Entries in the identity proxy are distinct if and only
if the corresponding entries (or rows) in x
are distinct.
The default implementation is as follows:
If x
is an atomic vector, then idproxy(x)
is x
.
Otherwise, if x
is vector-like, then idproxy(x)
is
xtfrm(x)
.
If x
is matrix-like, then idproxy(x)
is a dataset
with columns equal to the identity proxies of the columns of x
.
The idproxy
should rarely (if ever) be used directly, but it is
used internally buy unique.dataset
and the other similar functions.
An atomic vector or dataset of identity proxies used to identify the
distinct entries or rows in x
.
unique.dataset
, xtfrm.dataset
.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.