I have single column table and i need to find out count of it
status
average
good
bad
need to improve
good
bad
average
Output should be like this
Good 2
average 2
bad 2
need to improve 1
How to do this?
I have single column table and i need to find out count of it
status
average
good
bad
need to improve
good
bad
average
Output should be like this
Good 2
average 2
bad 2
need to improve 1
How to do this?
For count of rows by unique values using data.table:
myframe = data.table(myframe)
myFrame[,.N, by = myColumn]