powered by
This function removes duplicate rows from a data frame.
fix_duplicate_rows(df)
A data frame with duplicate rows removed
A data frame
df <- data.frame(a = c(1, 1, 2), b = c(2, 2, 3)) fix_duplicate_rows(df)
Run the code above in your browser using DataLab