Auxiliary function that takes in a data set, and then determines
all the rows that are duplicates. It tags both the original row as
well as the duplicates.
Usage
alldup(data)
Arguments
data
the data set on which to check for duplicate rows.
Value
boolean vector. Each entry indicates whether or not the
corresponding row has a duplicate.