I have a 200 x 10 matrix of digits , either 2 or 7 called predictions.
I\'m trying to return the majority for each row using this code.
for(i in 1:nrow