Contact me:

R table

table()
记录数据频数
x <- table(c(1,2,1,3,2,1)); print(x)

1 2 3

3 2 1

posted @ 2020-06-04 12:00  impwa  阅读(193)  评论(0编辑  收藏  举报