cara menghilangkan duplikat dalam kolom di r
# Remove duplicates from data frame:
example_df[!duplicated(example_df), ]Code language: R (r)
Motionless Mole
# Remove duplicates from data frame:
example_df[!duplicated(example_df), ]Code language: R (r)
df <- df %>% distinct()