isHomoList(KEGGgraph)
isHomoList()所属R语言包:KEGGgraph
Determines whether a list is homogenous
决定是否是同质列表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
If a list contains objects of the same class with the given class name, we call it a homogenous list and the function returns TRUE, otherwise it returns FALSE.
如果列表包含与给定的类名相同的类的对象,我们称之为一个同质的列表,并在函数返回TRUE,否则返回FALSE。
用法----------Usage----------
isHomoList(list, class)
参数----------Arguments----------
参数:list
A list
一个列表
参数:class
The class name to be validated
要验证的类的名称
值----------Value----------
logical
逻辑
作者(S)----------Author(s)----------
Jitao David Zhang <a href="mailto:jitao_david.zhang@roche.com">mailto:jitao_david.zhang@roche.com</a>
举例----------Examples----------
testlist <- list("home1"="Hamburg","home2"="Heidelberg",
"home3"="Tianjin")
isHomoList(testlist,"character")
testlist$lucky <- 16
isHomoList(testlist,"character")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|