Tally of discrete numbers
tally(x)
x
Returns the tally.
Kristian Hovde Liland
tally(c(1,5,1,3,2,5,6,2,2,1,4,3,6))
Useful links