R distinct() Function from dplyr
The dplyr::distinct() function in R removes duplicate rows from a data frame or tibble and keeps unique rows. You can provide additional arguments, like columns, to check for duplicates in those specific columns. Syntax distinct(.data, …, .keep_all = FALSE) Parameters Argument Description .data It is an input data frame or tibble from which to remove duplicate … Read more