replicates_rmv: Subset data.frame or data.table to remove all duplicated rows...

View source: R/rows_manage.R

replicates_rmvR Documentation

Subset data.frame or data.table to remove all duplicated rows by one or more columns

Description

Subset data.frame or data.table to remove all duplicated rows by one or more columns

Usage

replicates_rmv(df, columns)

Arguments

df

data.frame or data.table

columns

column or vector of columns to look for duplicate combinations in

Value

Returns data.frame without duplicated rows based on the specified columns

Author(s)

Diane Hatziioanou

Examples


# df_exclude_all_duplicates <- replicates_rmv(df, c("ID1","ID2"))



DHatziioanou/simpleepi documentation built on Sept. 24, 2024, 5:25 a.m.