Remove duplicates in data.frame
remove_duplicates(df, col_names = names(df))
df | data.frame to be checked for duplicates |
---|---|
col_names | column names to be used for duplicate checking (default: names(df)). can be defined by providing: c("col_name1", "col_name2") |
data.frame without duplicates