| removeduplicates | R Documentation |
Remove duplicate rows, optionally by key
removeduplicates(data, by = NULL, keep = c("first", "last", "none"))
data |
A data.frame. |
by |
Character vector of column names identifying groups or join keys. |
keep |
Which duplicate to keep. |
data with duplicates removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.