Description Usage Arguments Examples
Remove duplicate rows considering all or a few columns
1 | remove_duplicate_rows(x, columnNames, ...)
|
x |
A dataframe |
columnNames |
Names of the columns to use for computing duplicates. If not specified, all columns are used. |
... |
Arguments to be passed to 'duplicated' function |
1 2 3 | temp <- data.frame(x = c(1, 2, 3, 1), y = c(1, 3, 3, 1), z = c(1, 2, 3, 2))
remove_duplicate_rows(temp)
remove_duplicate_rows(temp, c("x", "y"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.