Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

show_duplicated

Show all rows with duplicated values (not just the first or last)


Description

Show all rows with duplicated values (not just the first or last)

Usage

show_duplicated(.tbl, ...)

Arguments

.tbl

Data frame to add transformed variables to

...

Variables used to evaluate row uniqueness

Details

If an entire row is duplicated use "duplicated" to show only one of the duplicated rows. When using a subset of variables to establish uniqueness it may be of interest to show all rows that have (some) duplicate elements

Examples

bind_rows(mtcars, mtcars[c(1,5,7),]) %>%
  show_duplicated(mpg, cyl)
bind_rows(mtcars, mtcars[c(1,5,7),]) %>%
  show_duplicated

radiant.data

Data Menu for Radiant: Business Analytics using R and Shiny

v1.3.12
AGPL-3 | file LICENSE
Authors
Vincent Nijs [aut, cre]
Initial release
2020-11-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.