DfUniqueByCols: Reduce data frame to be unique on subset of columns

DfUniqueByColsR Documentation

Reduce data frame to be unique on subset of columns

Description

Reduce data frame by picking the first row of blocks for which cols has the same values.

Usage

DfUniqueByCols(d, cols, drop = FALSE)

Arguments

d

data frame to be made unique

cols

columns for which the reduced data frame has to be unique

drop

argument passed to subset selection `[`

Value

the reduced data frame


sboehringer/package documentation built on Jan. 12, 2023, 6:33 a.m.