I have an array
a <- c(1,1,1,1,1,2,3,4,5,5,5,5,5,6,7,7,7,7)
I would like to use some command that would tell me which is the most frequent number in the array?
is there a simple command for this?