Nielsen Interview Question

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

Interview Answer

Anonymous

Jun 8, 2015

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