SyntaxFix
Write A Post
Hire A Developer
Questions
Using plyr package:
plyr
library(plyr) count(mydf$V1)
It will return you a frequency of each value.