tomaztsql.wordpress.com
Finding duplicates in data frame across columns and replacing them with unique values using R
Suppose you have a dataset with many variables, and you want to check: if there are any duplicated for each of the observation replace duplicates with random value from pool of existing values. &nb…