View source: R/e_SPECIAL_functions_ALL.R
e_duplicated_all | R Documentation |
e_duplicated_all()
determines which elements of a vector or data frame are duplicates, and returns a logical vector indicating which elements (rows) are duplicates.
e_duplicated_all(dat)
dat |
list or data.frame |
logical for all duplicated values
duplicated (c(1, 2, 2, 3, 4, 5, 2))
e_duplicated_all(c(1, 2, 2, 3, 4, 5, 2))
dat <- data.frame(a = c(1,2,1,2,1,2), b = c(3,3,4,4,3,4))
dat
dat[e_duplicated_all(dat), ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.