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

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

[复制链接]
发表于 2012-2-25 21:10:44 | 显示全部楼层 |阅读模式
listEdges(graph)
listEdges()所属R语言包:graph

                                        List the Edges of a Graph  
                                         列出图的边缘

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

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

A list where each element contains all edges between two nodes, regardless of orientation. The list has names which are node pairs, in lexicographic order, and elements all edges between those nodes.
一个列表,其中每个元素包含两个节点之间的所有边缘,不论方向。这是对节点的名称的列表,在字典顺序,这些节点之间的所有元素边缘。


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


listEdges(object, dropNULL=TRUE)



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

参数:object
An instance of the graphNEL-class class.  
graphNEL-class类的一个实例。


参数:dropNULL
Should those node pairs with no edges be dropped from the returned list.  
应该被丢弃那些没有边缘节点对从返回的列表。


Details

详情----------Details----------

The function is currently only implemented for graphs of the graphNEL-class. The edges in the returned list are instances of the simpleEdge-class.
该功能目前只执行图graphNEL-class。在返回列表中的边缘实例simpleEdge-class。


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

A named list of simpleEdge-class objects.
simpleEdge-class对象的命名列表。


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


R. Gentleman



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

simpleEdge-class, edges
simpleEdge-class,edges


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


        set.seed(123)
        V <- LETTERS[1:4]
        edL <- vector("list", length=4)
        names(edL) <- V
        toE <- LETTERS[4:1]
        for(i in 1:4)
           edL[[i]] <- list(edges=5-i, weights=runif(1))
        gR <- new("graphNEL", nodes=V, edgeL=edL)
        listEdges(gR)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 15:17 , Processed in 0.040997 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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