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

R语言 hyperdraw包 graphLayout()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 22:05:26 | 显示全部楼层 |阅读模式
graphLayout(hyperdraw)
graphLayout()所属R语言包:hyperdraw

                                         Layout a graph.
                                         布局图形。

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

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

This function is designed to layout a graph using the Rgraphviz package. The hyperdraw package makes this a generic function with a method for graphBPH objects. The function of the same name in the Rgraphviz package is used as a method for Ragraph objects.
此功能设计的布局图,使用Rgraphviz包。 hyperdraw包graphBPH对象的方法使这是一个通用函数。的Rgraphviz包名称相同的功能,使用作为Ragraph对象的方法。


用法----------Usage----------


graphLayout(graph, layoutType, ...)



参数----------Arguments----------

参数:graph
An   graphBPH object, which is to be laid out.  
一个graphBPH的对象,这是被解雇了。


参数:layoutType
The layout method (e.g., dot or neato).  
布局方法(例如,dot或neato)。


参数:...
These arguments will be passed to the agopen() function.  
这些参数将被传递给agopen()功能。


值----------Value----------

An RagraphBPH object.
RagraphBPH对象。


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



Paul Murrell




参考文献----------References----------

An open graph visualization system and its applications to software engineering, Software - Practice and Experience, 30:1203–1233.
Hahne, F. and Sarkar, D. and Hansen, K.  <code>Rgraphviz</code>: Provides plotting capabilities for R graph objects.

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

agopen and GraphvizLayouts
agopen和GraphvizLayouts


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


nodes <- c(LETTERS[1:5], paste("R", 1:3, sep=""))
testgnel <- new("graphNEL",
                nodes=nodes,
                edgeL=list(
                  A=list(edges=c("R1", "R2")),
                  B=list(edges="R2"),
                  C=list(),
                  D=list(edges="R3"),
                  E=list(),
                  R1=list(edges="B"),
                  R2=list(edges=c("C", "D")),
                  R3=list(edges="E")),
                edgemode="directed")
testbph <- new("graphBPH", testgnel, "^R")
testrabph <- graphLayout(testbph)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-29 04:22 , Processed in 0.025176 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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