replicates_rmv | R Documentation |
Subset data.frame or data.table to remove all duplicated rows by one or more columns
replicates_rmv(df, columns)
df |
data.frame or data.table |
columns |
column or vector of columns to look for duplicate combinations in |
Returns data.frame without duplicated rows based on the specified columns
Diane Hatziioanou
# df_exclude_all_duplicates <- replicates_rmv(df, c("ID1","ID2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.