Hi and apologies for the title, I do not know how to explain my issue. I have a table like this:
color.1 color.2 color.3 color.4
1 red blue red red
2 blue blue
3 green blue green
4 blue blue
I'm interested in knowing the number of times each tuple is repeated .For example in this case it would be:
red blue red red = 1
blue blue = 2
green blue green = 1
I tried using the expand
function and summary
and it didn't worked.
EDIT: I just discovered the function table
does something similar to what I want but not in the table format that I want...is it even possible to do it with a built-in function? Or any package?