expandAsMatrix(edgeR)
expandAsMatrix()所属R语言包:edgeR
expandAsMatrix
expandAsMatrix
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Expand scalar or vector to a matrix.
展开矩阵标量或矢量。
用法----------Usage----------
expandAsMatrix(x, dim)
参数----------Arguments----------
参数:x
scalar, vector or matrix. If a vector, length must match one of the output dimensions.
标量,向量或矩阵。如果一个向量,长度必须匹配输出的尺寸之一。
参数:dim
required dimension for the output matrix.
所需的输出矩阵的维数。
Details
详情----------Details----------
This function expands a row or column vector to be a matrix. It is used internally in edgeR to convert offsets to a matrix.
此功能扩展是一个矩阵的行或列向量。它是用来磨边内部转换偏移矩阵。
值----------Value----------
Numeric matrix of dimension dim.
数字矩阵维dim。
作者(S)----------Author(s)----------
Gordon Smyth
参见----------See Also----------
mglmLS.
mglmLS。
举例----------Examples----------
expandAsMatrix(1:3,c(4,3))
expandAsMatrix(1:4,c(4,3))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|