For a given vector match
, this function returns a binary
indicator for each row in data
, telling you whether or not
that row matches the entries in the vector match
. Note this
assumes that data
and match
have the same column
order.
matchrow(data, match)
data.frame
whose rows will be compared against a
given vector to determine whether or not they are identical in
values.
the vector against which data
will be compared
against.
binary vector, each element indicating whether the
corresponding row in data
matches the vector
match
.