I have a large dataframe ncol =220 I want to compare the columns to see if they may be identical and produce a matrix for ease of identification.
So what I have is
x y z
1 dog dog cat
2 dog dog dog
3 cat cat cat
What I want
x y z
x - True False
y True - False
z False False -
Is there a way to do this using identical() in R?