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

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

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

                                        Class "AgEdge": A class to describe an edge for a Ragraph object
                                         “AgEdge类:A类来形容为Ragraph对象的边缘

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

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

This class is used to represent edges for the Ragraph class.  One can retrieve various pieces of information
这个类是用来代表Ragraph类的边缘。一个可以检索各种信息


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

Objects can be created by calls of the form new("AgEdge", ...).
创建对象可以通过电话的形式new("AgEdge", ...)。


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




arrowhead: Object of class "character" The
arrowhead类"character":对象




arrowsize: Object of class "character" A scale
arrowsize类"character"规模对象




arrowtail: Object of class "character" The
arrowtail类"character":对象




color: Object of class "character" The edge
color类"character"边缘对象




dir: Object of class "character" The edge direction.
dir类"character"边缘方向的对象。




ep: Object of class "xyPoint" The end point of
ep:Object类的"xyPoint"终点的




head: Object of class "character" The head node
head类"character"头节点对象




lty: Object of class "character" The edge
lty类"character"边缘对象




lwd: Object of class "numeric" The edge
lwd类"numeric"边缘对象




sp: Object of class "xyPoint" The starting
sp:Object类的"xyPoint"开始




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




tail: Object of class "character" The tail node
tail类"character"尾节点的对象




txtLabel: Object of class "character" The edge
txtLabel类"character"边缘对象


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




splines Returns the splines slot
花键返回splines插槽




sp Returns the sp slot
SP返回sp插槽




ep Returns the ep slot
EP返回ep插槽




numSplines Returns the number of splines
numSplines返回花键




getSpline Convenience method to retrieve a specific spline
getSpline方便的方法来检索一个特定的样条




show Displays a concise description of the object
节目显示对象的简要说明




lines Draws the edge
线条绘制的边缘




head Gets the head slot
头获取头部带槽




tail Gets the tail slot
尾巴获取尾槽




txtLabel Returns any label for this edge
txtLabel返回这个优势任何标签




arrowhead Retrieves the arrowhead slot.
箭头检索arrowhead插槽。




arrowtail Retrieves the arrowtail slot.
arrowtail检索arrowtail插槽。




arrowsize Retrieves the arrowsize slot.
arrowsize检索arrowsize插槽。


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


Jeff Gentry



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

Ragraph, BezierCurve, xyPoint
Ragraph,BezierCurve,xyPoint


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


V <- letters[1:10]
M <- 1:4
g1 <- randomGraph(V, M, .2)
z <- agopen(g1,name="foo")
x &lt;- AgEdge(z)  ## list of AgEdge objects[#AgEdge对象名单]

vv <- x[[1]]
vv
## Demonstrate the methods of this class[#演示这个类的方法]
splines(vv)
sp(vv)
ep(vv)
numSplines(vv)
getSpline(vv, 1)
head(vv)
tail(vv)
txtLabel(vv)
arrowhead(vv)
arrowtail(vv)
arrowsize(vv)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-8 15:06 , Processed in 0.025731 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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