Description Usage Arguments Value See Also Examples
View source: R/view_duplicated.R
Finds all duplicated rows by column(s). Equivalent to doing data[duplicated(data) | duplicated(data, fromLast = TRUE), ]
1 |
data |
a data frame |
... |
columns to search for duplicated values, defaults to all arguments; can also apply dplyr special functions |
a data frame with duplicated rows by given columns
remove_duplicated
to remove duplicates
1 2 3 4 5 | d <- data.frame(x1 = rep(1:3, each=4), x2 = rep(1:4, each=3), z = rep(1:2, 6), a = rep(1:6, 2))
view_duplicated(data = d, x2, z)
view_duplicated(d, a, z)
view_duplicated(d)
view_duplicated(d, dplyr::starts_with("x"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.