What is the purpose of the distinct() function in dplyr?
A. Filters unique rows based on specified columns
B. Removes duplicate rows from a data frame
C. Counts the distinct values in a column
D. Selects distinct elements from a vector
Answer: Option B
Join The Discussion