SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use dplyr's distinct() function! It tends to be more efficient than alternative options, especially if you have loads of observations.
dplyr
distinct()
distinct_data <- dplyr::distinct(yourdata)