l2hel(hypergraph)
l2hel()所属R语言包:hypergraph
Create lists of Hyperedge objects
创建Hyperedge对象名单
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Conveniently create lists of Hyperedge-class instances.
方便地创建Hyperedge-class实例列表。
用法----------Usage----------
l2hel(e)
参数----------Arguments----------
参数:e
A list of character vectors. Each element of the list represents a hyperedge and the character vector value specifies the nodes of the hypergraph that are part of the hyperedge. The names of the list elements, if found, will be used as the label for the corresponding Hyperedge object.
特征向量。列表中的每个元素代表了一个hyperedge和特征向量的值指定的hyperedge超图的节点。列表元素的名称,如发现,将被用来作为标签相应Hyperedge对象。
值----------Value----------
A list of Hyperedge-class objects. If the list e did not have names, the labels of the Hyperedges will be set to its index in the list coerced to character.
Hyperedge-class对象名单。如果列表e没有名字,超边的标签将被设置为它的索引强迫性格的名单中。
作者(S)----------Author(s)----------
Seth Falcon
参见----------See Also----------
Hyperedge-class Hypergraph-class
Hyperedge-classHypergraph-class
举例----------Examples----------
edges <- list("e1"="A", "e2"=c("A", "B"), "e3"=c("C", "D"))
hEdgeList <- l2hel(edges)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|