| uniquerows | R Documentation |
Return unique rows, optionally considering only selected columns. With a
single file path as data, it is a fused one-pass scan that returns the
distinct combinations of cols without ever materialising the file as R
vectors (see aggregate()'s file mode).
uniquerows(data, cols = NULL, .keep_all = FALSE, ...)
data |
A data.frame, or a single path to a delimited text file. |
cols |
Optional character vector of columns used to determine
uniqueness. Required when |
.keep_all |
Keep all columns when |
... |
For the file form, passed to the file reader ( |
A basetable of the unique rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.