标签: r
我有单列表,我需要找出它的数量
status average good bad need to improve good bad average
输出应该是这样的
Good 2 average 2 bad 2 need to improve 1
怎么做?
答案 0 :(得分:0)
使用data.table:
myframe = data.table(myframe) myFrame[,.N, by = myColumn]