日常记录:R语言统计向量中元素出现的频次table函数 2018-01-04 本文已影响0人 bio_橡树 table(data$V1) 统计每个元素出现的频次 as.data.frame(table(data$V1)) 转化成数据框格式 高级语言就是方便!