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

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

[复制链接]
发表于 2012-2-25 22:53:51 | 显示全部楼层 |阅读模式
getNamedElement(KEGGgraph)
getNamedElement()所属R语言包:KEGGgraph

                                         Extract the value in a vector by name
                                         提取的名字在一个向量的值

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

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

The function extracts the value(s) in a named vector by given name(s), in case no element is found with the given name, NA will be returned
在一个给定的名称(S)的名字命名的向量功能提取值(S),元素的情况下没有发现给定的名称,将返回不适用


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


getNamedElement(vector, name)



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

参数:vector
A named vector of any data type  
命名为向量的任何数据类型


参数:name
Wanted name   
通缉名称


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

The elements with the given name, 'NA' in case no one was found
具有给定名称的元素,“不适用”的情况下没有人被发现


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


Jitao David Zhang <a href="mailto:jitao_david.zhang@roche.com">mailto:jitao_david.zhang@roche.com</a>



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


vec <- c(first="Hamburg", second="Hoffenheim",third="Bremen")
getNamedElement(vec, "third")
getNamedElement(vec, "last")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 05:05 , Processed in 0.019954 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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