::table
table(d),table(cut(d,c(1,2,3,4,,,)))
table:次数统计,prob_table()频率统计;
table与cut的联合使用,实现区间频率的统计。
table()的结果是table,names()得到统计项,as.vector() 或者as.numeric()得到统计值。结果是vector