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

R语言 Biobase包 isVersioned()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 13:21:42 | 显示全部楼层 |阅读模式
isVersioned(Biobase)
isVersioned()所属R语言包:Biobase

                                        Determine whether object or class contains versioning information
                                         确定对象或类是否包含版本信息

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

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

This generic function checks to see whether Versioned-class information is present. When the argument to isVersioned is a character string, the prototype of the class corresponding to the string is consulted.
这个通用的功能检查,看是否Versioned-class信息。当isVersioned参数是一个字符串,字符串对应的类的原型意见。

By default, isVersioned has the following behaviors:
默认情况下,isVersioned有下列行为:




isVersioned(Versioned-instance) Returns TRUE when the instance have version information.
isVersioned(Versioned-instance)返回TRUE实例有版本信息。




isCurrent("class-name") Returns TRUE when the named class extends Versioned-class.
isCurrent("class-name")返回TRUE命名的类扩展时Versioned-class。




isVersioned(ANY) Returns FALSE
isVersioned(ANY)返回FALSE


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


isVersioned(object)



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

参数:object
Object or class name to check for version information, as described above.
对象或类的名称来检查版本信息,如上所述。


值----------Value----------

isVersioned returns a logical indicating whether version information is present.
isVersioned返回一个逻辑显示版本信息是否存在。


作者(S)----------Author(s)----------


Biocore team



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

Versions-class
Versions-class


举例----------Examples----------



obj <- new("VersionedBiobase")
isVersioned(obj)

isVersioned(1:10) # FALSE[假]

setClass("A", contains="VersionedBiobase",
         prototype=prototype(new("VersionedBiobase", versions=c(A="1.0.0"))))
a <- new("A")
isVersioned(a)

removeClass("A")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-3 18:59 , Processed in 0.020998 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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