0

What's the R function used to find unique and distinct value in a column?

if there is a column names as below:

Names
A,A
B,A
C
C,V
V,C
Z,X

how can i get output as A,B,C,V,Z,X (unique ad distinct) i know unique() would do row-wise computation and i need it for entire column and row precisely. Anyone able to help me?

Ronak Shah
  • 377,200
  • 20
  • 156
  • 213

0 Answers0