I am working in Rstudio and have a table, x that looks like (1,1,1,3,4), and want to return 1, the integer that is repeated the most. I have tried summary and sort, but these ar