Count value in multiple characters and mark position?
Hi, how can I count the number 0,1,2 from the 1 characteristic column as below? Thank you so much! (x = missing)PatternCount 0Count 1Count 2Position 0Position 1Position 2x,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 26 1 02,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28402,2,2,2,2,0,0,0,0,0,0,1,1,1,2,0,1,1,1,2,2,2,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...