distinct.ir: Subset distinct/unique rows in ir objects
Description
Subset distinct/unique rows in ir objects
Usage
distinct.ir(.data, ..., .keep_all = FALSE)
Value
.data with distinct rows.
Arguments
.data
An object of class ir.
...
<data-masking> Optional variables to
use when determining uniqueness. If there are multiple rows for a given
combination of inputs, only the first row will be preserved. If omitted,
will use all variables in the data frame.
.keep_all
If TRUE, keep all variables in .data.
If a combination of ... is not distinct, this keeps the
first row of values.