R/fix_duplicate_rows.R
fix_duplicate_rows.Rd
This function removes duplicate rows from a data frame.
fix_duplicate_rows(df)
A data frame
A data frame with duplicate rows removed
df <- data.frame(a = c(1, 1, 2), b = c(2, 2, 3)) fix_duplicate_rows(df) #> a b #> 1 1 2 #> 3 2 3