Description Usage Arguments Details Value Examples
Efficiently Extract Unique Elements from a Data Frame
1 | unique_by(x, by = NA_integer_, ...)
|
x |
A base::data.frame |
by |
The column, as an integer or by name, to be used
to split up |
... |
Additional arguments passed to base::unique per chunk. |
unique_by(x)
is typically more memory efficient than
unique(x)
.
A base::data.frame with duplicated rows drop.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.