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

R语言 Rgraphviz包 Ragraph-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-22 21:00:49 | 显示全部楼层 |阅读模式
Ragraph-class(Rgraphviz)
Ragraph-class()所属R语言包:Rgraphviz

                                        Class "Ragraph": A class to handle libgraph representations
                                         “Ragraph类:A类处理libgraph交涉

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

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

Class Ragraph is used to handle libgraph
类Ragraph用来处理libgraph的


类的对象----------Objects from the Class----------

Objects can be created by calls to the function agopen.
创建对象可以通过调用函数agopen。


插槽----------Slots----------




agraph: Object of class "externalptr": A C
agraph:一个C:类"externalptr"对象




laidout: Object of class "logical": Whether or
laidout:Object类的"logical":无论




layoutType: Object of class "character": The
layoutType:Object类的"character":




edgemode: Object of class "character": The edgemode for this graph - “directed” or
edgemode:对象类"character":此图edgemode  - “定向”或




AgNode: Object of class "list": A list of
AgNode:Object类的"list":一个列表




AgEdge: Object of class "list": A list of
AgEdge:Object类的"list":一个列表




boundBox: Object of class "boundBox": Defines
boundBox:Object类的"boundBox":定义




bg: Object of class "character": The background
bg:对象的背景:类"character"




fg: Object of class "character": The foreground
fg:Object类的"character":前景


方法----------Methods----------




show signature(object = "Ragraph"): A brief summary of
显示signature(object = "Ragraph"):简要




agraph signature(object = "Ragraph"): Returns the
agraphsignature(object = "Ragraph"):返回




laidout signature(object = "Ragraph"): Returns the
laidoutsignature(object = "Ragraph"):返回




boundBox signature(object = "Ragraph"): Returns the
boundBoxsignature(object = "Ragraph"):返回




AgEdge signature(object = "Ragraph"): Returns the edge
AgEdgesignature(object = "Ragraph"):返回边缘




AgNode signature(object = "Ragraph"): Returns the node
AgNodesignature(object = "Ragraph"):返回节点




edgemode signature(object = "Ragraph"): Retrieves the
edgemodesignature(object = "Ragraph"):检索




layoutType signature(object = "Ragraph"): Retrieves the
layoutTypesignature(object = "Ragraph"):检索




edgeNames signature(object = "Ragraph"): Returns a
edgeNamessignature(object = "Ragraph"):返回




graphDataDefaults signature(self= "Ragraph"):
graphDataDefaultssignature(self= "Ragraph"):




graphDataDefaults<- signature(self= "Ragraph", attr="vector", value="vector"):
graphDataDefaults < - signature(self= "Ragraph", attr="vector", value="vector"):




graphData signature(self= "Ragraph", attr="vector"):
graphDatasignature(self= "Ragraph", attr="vector"):




graphData<- signature(self= "Ragraph", attr="vector", value="vector"):
graphData < - signature(self= "Ragraph", attr="vector", value="vector"):




clusterData signature(self= "Ragraph", cluster="numeric", attr="vector"):
clusterDatasignature(self= "Ragraph", cluster="numeric", attr="vector"):




clusterData<- signature(self= "Ragraph", cluster="numeric", attr="vector", value="vector"):
clusterData < - signature(self= "Ragraph", cluster="numeric", attr="vector", value="vector"):




edgeDataDefaults signature(self= "Ragraph",attr="missing"):
edgeDataDefaultssignature(self= "Ragraph",attr="missing"):




edgeDataDefaults<- signature(self= "Ragraph", attr="vector", value="vector"):
edgeDataDefaults < - signature(self= "Ragraph", attr="vector", value="vector"):




edgeData signature(self= "Ragraph", from="vector", to="vector", attr="vector"):
edgeDatasignature(self= "Ragraph", from="vector", to="vector", attr="vector"):




edgeData<- signature(self= "Ragraph", from="vector", to="vector", attr="vector", value="vector"):
edgeData < - signature(self= "Ragraph", from="vector", to="vector", attr="vector", value="vector"):




nodeDataDefaults signature(self= "Ragraph",attr="missing"):
nodeDataDefaultssignature(self= "Ragraph",attr="missing"):




nodeDataDefaults<- signature(self= "Ragraph", attr="vector", value="vector"):
nodeDataDefaults < - signature(self= "Ragraph", attr="vector", value="vector"):




nodeData signature(self= "Ragraph", n="vector", attr="vector"):
nodeDatasignature(self= "Ragraph", n="vector", attr="vector"):




nodeData<- signature(self= "Ragraph", n="vector", attr="vector", value="vector"):
nodeData < - signature(self= "Ragraph", n="vector", attr="vector", value="vector"):




getNodeXY signature(object = "Ragraph"): Returns a two element list, the first element contains a numerical vector with the 'x' positions of every node in this graph, and the second element contains a numerical vector with the 'y' positions for
getNodeXYsignature(object = "Ragraph"):返回由两个元素的列表,第一个元素包含在这个图中每个节点的“X”位置的数值向量,第二个元素包含一个数值向量为y的立场




getNodeHeight signature(object = "Ragraph"): Returns a
getNodeHeightsignature(object = "Ragraph"):返回




getNodeLW signature(object = "Ragraph"): Returns a
getNodeLWsignature(object = "Ragraph"):返回




getNodeRW signature(object = "Ragraph"): Returns a
getNodeRWsignature(object = "Ragraph"):返回


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


Jeff Gentry and Li Long &lt;li.long@isb-sib.ch&gt;



参见----------See Also----------

agopen
agopen


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


set.seed(123)
V <- letters[1:10]
M <- 1:4
g1 <- randomGraph(V, M, .2)
z <- agopen(g1,"foo")
z

## The various methods in action[#在行动的各种方法]

## These methods are all used to obtain positional information about nodes[#这些方法都用来获取有关节点的位置信息]
getNodeXY(z)
getNodeHeight(z)
getNodeLW(z)
getNodeRW(z)

## Retrieve information about the edges in the graph[#在图形边缘的信息检索]
edgeNames(z)
edgemode(z)

## These get information about the layout[#这些有关布局的get信息]
laidout(z)
layoutType(z)
boundBox(z)

## Used to retrieve the entire list of edges or nodes[#用于检索整个列表的边或节点]
AgEdge(z)
AgNode(z)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-22 15:58 , Processed in 0.022032 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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