Nielsen interview question

How would you get all the unique values from an attribute in R?

Interview Answer

Anonymous

8 June 2015

Use duplicate function to find if there are any duplicates. Use the unique function to extract only unique values.