getSetDiff {clinUtils} | R Documentation |
Get additions/removals
Description
Get only additions and removals from two data sets
(data.table
objects).
The additions/removals are extracted as x
vs
y
.
This function assumes that the objects x
and y
don't share identical rows.
Usage
getSetDiff(x, y, referenceVars)
Arguments
x |
A |
y |
A |
referenceVars |
character vector of the columns in the data that are the used as
reference for the comparison. |
Value
A data.table
object with the
additions/removals with respect of the comparison
between x
vs y
.
[Package clinUtils version 0.2.0 Index]