View source: R/duplicates_by.R
duplicates_by | R Documentation |
Note that this function generates all duplicate rows including the first one in each duplicate group.
duplicates_by(data, ..., sort = TRUE)
data |
a tbl |
... |
Variables to check duplicates by. |
sort |
When sort=TRUE as in the default, the output will be sorted by the variables provided in ... |
library(tidyverse) iris %>% duplicates_by(Sepal.Length, Sepal.Width)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.