bro*_*ick 2 r
我想计算列的总和,但排除一列.如何在添加每行的总和时指定要排除的列.
hd_total<-rowSums(hd) #hd is where the data is that is read is being held hn_total<-rowSums(hn)
Hon*_*Ooi 12
rowSums(hd[, -n])
n您要排除的列在哪里.
n
归档时间:
12 年,3 月 前
查看次数:
7708 次
最近记录: