validGraph(graph)
validGraph()所属R语言包:graph
Test whether graph object is valid
测试图形对象是否有效
译者:生物统计家园网 机器人LoveR
描述----------Description----------
validGraph is a validating function for a graph object.
validGraph是一个图形对象的验证功能。
用法----------Usage----------
validGraph(object, quietly=FALSE)
参数----------Arguments----------
参数:object
a graph object to be tested
一个图形对象进行测试
参数:quietly
TRUE or FALSE indicating whether output should be printed.
TRUE或FALSE指示是否应打印输出。
值----------Value----------
If the graph object is valid, TRUE is returned otherwise FALSE is returned. If object is not a valid graph and quietly is set to FALSE then descriptions of the problems are printed.
如果图形对象是有效的,TRUE否则返回FALSE返回。 object如果是不是一个有效的图形和quietly设置为FALSE然后打印问题的说明。
作者(S)----------Author(s)----------
Elizabeth Whalen
参见----------See Also----------
graph-class
graph-class
举例----------Examples----------
testGraph<-new("graphNEL")
testGraph@nodes<-c("node1","node2","node3")
validGraph(testGraph)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|