Skip to content
Prev 70465 / 398525 Next

a more elegant approach to getting the majority level

Don't know if this is more elegant:

names(which.max(table(x)))

Andy