: :table table(d),table(cut(d, c(1, 2, 3, 4, , , )))
table: 次数统计, prob_table() 频率统计;
table 与 cut 的联合使用, 实现区间频率的统计
table() 的结果是 table,names() 得到统计项, as.vector() 或者 as.numeric() 得到统计值结果是 vector
来源: http://www.bubuko.com/infodetail-2500641.html