multiGraph-class(graph)
multiGraph-class()所属R语言包:graph
Class "multiGraph"
类“重图”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A collection of classes to model multigraphs. These
模型多重图的类的集合。这些
类的对象----------Objects from the Class----------
Objects can be created from the multiGraph class, the edgeSet class is virtual, and particular variants should be used.
对象可以创建multiGraph类edgeSet类是虚拟的,应使用特定变异。
插槽----------Slots----------
These slots are for the multiGraph class.
这些插槽是为重图类。
nodes The names of the nodes.
节点的节点的名称。
edgeL A list of edge lists.
edgeL一个边列表的列表。
nodeData An instance of the attrData class.
nodeDataattrData类的一个实例。
graphData A list.
graphData一个列表。
These slots are for the edgeSet class, or one of its sublcasses.
插槽edgeSet类,或者其sublcasses之一。
edgeData An instance of the attrData class.
edgeDataattrData类的一个实例。
edgemode A character vector, one of directed, or undirected.
edgemode字符向量,导向之一,或无向。
edgeL A list of the edges (graphNEL)
edgeL一个边列表(graphNEL)
adjMat An adjacency matrix (graphAM)
adjMat邻接矩阵(graphAM)
方法----------Methods----------
show Print a multigraph.
显示打印多重图。
isDirected A vector indicating which of the edgeSets is
isDirected的edgeSets这是一个向量
nodes Retrieve the node names
节点检索节点名称
numNodes Return the number of nodes
numNodes返回节点的数量
edges Return either all edges, or a subset of them, depending
边缘返回所有的边缘,或其中的一个子集,这取决于
numEdges Return a vector with the number of edges, for each
numEdges返回与边数的一个向量,为每个
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|