whichDups | R Documentation |
The function finds duplicated values in each column of the data file. Although not intended for direct use, it can be applied to a data file once converted into "data.table" class.
whichDups(x)
x |
A data.table. |
A named character vector. Data columns containing distinct sets of duplicated values have the names indexed.
if (interactive()) { dir = system.file('extdata', package = 'replacer') setwd(dir) x = data.table::fread('data.csv', na.strings = c(NA_character_, '')) whichDups(x) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.