Description Usage Arguments Value Examples
Check if there is any duplicate rows indexed by given columns. If YES, it will give warning.
1 | CheckDuplicateRow(.data, .vars)
|
.data |
A data.frame. |
.vars |
Names of Columns to group by. If missing, use the first column name. |
TRUE
if there exists duplicate rows, otherwise FALSE
.
1 2 3 | df <- data.frame(Id = c(1, 1), name = c("A", "B"))
flightscanner:::CheckDuplicateRow(df)
flightscanner:::CheckDuplicateRow(df, "name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.