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

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

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

                                        Class "sliceIndex", index class representing a sequence of
                                         类“sliceIndex”,指数类代表一个序列

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

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

This represents a sequence that can be created with seq(start, by=stride, length=n) where star >= 0 and
这是一个序列,可以创建与seq(start, by=stride, length=n)star >= 0“


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

Objects can be created by calls of the form makeSlice(start,   length, stride).
创建对象可以通过检测的形式makeSlice(start,   length, stride)。


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




content: Object of class "numeric" of length 3. The first element of content is the start of the index, the second element is the length of the index, and the third element is the difference between successive elements of the
content:类长度"numeric"3对象。 content的第一个元素是该指数开始,第二个元素是该指数的长度,第三个元素是连续元素之间的差异




Names: Object of class "vectorNamesType", this
Names类"vectorNamesType",这个对象


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

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


方法----------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 "allIndex"
类“allIndex”




x+scalar:  Add scalar to x. Result is x with x@content[1] replaced by
x+scalar:添加scalarx。结果是x用x@content[1]取代




scalar+x:  Add scalar to x. Result is x with x@content[1] replaced by
scalar+x:添加scalarx。结果是x用x@content[1]取代




x*scalar:  Multiply x by scalar. Result is x with x@content[3] replaced by
x*scalar:乘以xscalar的。结果是x用x@content[3]取代




scalar*x:  Multiply x by scalar. Result is x with x@content[3] replaced by
scalar*x:乘以xscalar的。结果是x用x@content[3]取代




x[i]:  Subset x. If length of i is 0, the result is an object of class "noneIndex". Otherwise, the result is an object of class "sliceIndex" or of class
x[i]:子集X。如果长度i是0,结果是一个对象类"noneIndex"。否则,其结果是一个对象类"sliceIndex"或类




dim(x) <- value  Set a dimension on x. If value is of
昏暗的(X)< - 值设置x一个维度。如果值是




x[]:  Subset x with the subscript missing. Result is x.
x[]:子集标的X失踪。结果是x。




allNA(x):  Are all elements of x NA? Result is
allNA(x):是xNA的所有元素?结果是




anyNA(x):  Is any element of x NA? Result is
anyNA(x):任何元素的xNA?结果是




length(x):  Return the length of x.
length(x):返回x的长度。




length(x) <- value:  Modify the length of x. If value is 0, makes x an object of class "noneIndex". Otherwise, modifies length of x to
length(x) <- value:修改x的长度。 value如果是0,使x类"noneIndex"的对象。否则,修改长度x




names(x):  Returns the Names slot of x.
names(x):返回Namesx插槽。




names(x) <- value :  Sets the Names slot of x to
:names(x) <- value :设置Namesx插槽

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 09:39 , Processed in 0.025492 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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