找回密码
 注册
查看: 354|回复: 0

R语言 SparseM包 SparseM.image()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:33:25 | 显示全部楼层 |阅读模式
SparseM.image(SparseM)
SparseM.image()所属R语言包:SparseM

                                        Image Plot for Sparse Matrices
                                         稀疏矩阵的图像绘图

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Display the pattern of non-zero entries of a matrix of class matrix.csr.
显示图案的矩阵的非零项的类matrix.csr。


用法----------Usage----------


## S4 method for signature 'matrix.csr'
image(x, col=c("white","gray"),
      xlab="column", ylab="row", ...)



参数----------Arguments----------

参数:x
a matrix of class matrix.csr. </table>
的矩阵类matrix.csr。 </ TABLE>


参数:col
a list of colors such as that generated by rainbow. Defaults to c("white","gray")
所产生的rainbow的颜色,如一个列表。默认为c(“白”,“灰”)


参数:xlab,ylab
each a character string giving the labels for the x and y axis.
每一个字符的字符串,给出的x和y轴的标签。


参数:...
additional arguments.
其他参数。


Details

详细信息----------Details----------

The pattern of the non-zero entries of a sparse matrix is displayed.  By default nonzero entries of the matrix appear
一个稀疏矩阵的非零项的图案被显示。默认情况下出现的矩阵的非零


参考文献----------References----------

SparseM:  A Sparse Matrix Package for R,<br> http://www.econ.uiuc.edu/~roger/research

参见----------See Also----------

SparseM.ops, SparseM.solve, SparseM.ontology
SparseM.ops,SparseM.solve,SparseM.ontology


实例----------Examples----------


a <- rnorm(20*5)
A <- matrix(a,20,5)
A[row(A)>col(A)+4|row(A)<col(A)+3] <- 0
b <- rnorm(20*5)
B <- matrix(b,20,5)
B[row(A)>col(A)+2|row(A)<col(A)+2] <- 0
image(as.matrix.csr(A)%*%as.matrix.csr(t(B)))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 06:07 , Processed in 0.020531 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表