rowSums(spam)
rowSums()所属R语言包:spam
Form Row and Column Sums and Means
表格的行和列的金额及方式
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Form row and column sums and means for sparse spam matrices
表格的行和列的款项和手段稀疏spam矩阵
用法----------Usage----------
rowSums(x, na.rm = FALSE, dims = 1, ...)
colSums(x, na.rm = FALSE, dims = 1, ...)
rowMeans(x, na.rm = FALSE, dims = 1, ...)
colMeans(x, na.rm = FALSE, dims = 1, ...)
参数----------Arguments----------
参数:x
a spam object
spam对象
参数:na.rm
currently ignored
目前被忽略
参数:dims
ignored as we have only two dimensions.
被忽略,因为我们只有两个维度。
参数:...
potentially further arguments from other methods.
潜在的进一步的论据其他方法。
Details
详细信息----------Details----------
Depending on the flag .
根据在国旗上。
值----------Value----------
Vector of appropriate length.
向量的适当的长度。
(作者)----------Author(s)----------
Reinhard Furrer
参见----------See Also----------
apply.spam, spam.options.
apply.spam,spam.options。
实例----------Examples----------
x <- spam( rnorm(20), 5, 4)
rowSums( x)
c( x %*% rep(1,4))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|