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

R语言 externalVector包 matrixIndex-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 17:26:29 | 显示全部楼层 |阅读模式
matrixIndex-class(externalVector)
matrixIndex-class()所属R语言包:externalVector

                                        Class "matrixIndex", index class representing a set of row and
                                         类“matrixIndex”,指数类代表一个行集和

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

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

Objects of class "matrixIndex" represent subscripts corresponding to a submatrix of some matrix of a given size. Like the
类对象的"matrixIndex"指一个给定大小的矩阵的一些子矩阵对应的下标。像


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("matrixIndex",   row, col, origdim, Names).
创建对象可以通过检测的形式new("matrixIndex",   row, col, origdim, Names)。


插槽----------Slots----------




row: Object of class "vectorIndex", the row
row类"vectorIndex",该行的对象




col: Object of class "vectorIndex", the column
col类"vectorIndex",列对象




origdim: Object of class "integer", the
origdim类"integer",对象




Names: Object of class "vectorNamesType", names for the submatrix elements when the submatrix is treated as
Names类"vectorNamesType",为子矩阵元素的名称的对象时,子阵被视为


延伸----------Extends----------

Class "externalVector", directly.
类"externalVector",直接。


方法----------Methods----------

Signature components for the methods are:
签名组件的方法是:

The class "allIndex"
类“allIndex”

Length one positive "integer"
长度一个积极的“整数”

The class "ANY"
类的“ANY”

The class "ANY"
类的“ANY”

The class "logical"
类的“逻辑”

The class "ANY"
类的“ANY”

The class "allIndex"
类“allIndex”




x[i, j, drop=FALSE]  Create another object of cloass matrixIndex with same origdims represents a further submatrix of the full matrix. If drop is TRUE and at least one of the dimensions of the answer is 1, the answer
X [I,J,跌幅为FALSE]创建另一个cloass对象matrixIndex同origdims进一步的全矩阵的子阵。 drop如果是TRUE“至少有一个答案的尺寸是1,答案




x[[i]]  Get the subscript representing the indices for
X [[]代表为指数的标




dim(x)  Get the dimension of x.
暗淡(X)维x。




dimnames(x)  Get the dimnames of x.
(X)dimnamesxdimnames。




length(x)  Get the length of x considered as a
长度(x)的长度x视为




names(x)  Get the names of x.
名称(X)的名字x。




setDimNames(x, value)  Set the dimnames of x and
(X值)setDimNames设置xdimnames




setNames(x, value)  Set the names of x and return the
setNames(X值)x设置的名称,并返回




as(x, "vectorIndex")  Coerce x to an object of class
(X,“vectorIndex”)强制x到一个类的对象


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

vectorIndex-class for the class of row and column subscripts.
vectorIndex-class类的行和列标。

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 10:27 , Processed in 0.022088 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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