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

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

[复制链接]
发表于 2012-10-1 10:59:31 | 显示全部楼层 |阅读模式
distance_w(tnet)
distance_w()所属R语言包:tnet

                                         Distance in a weighted network
                                         加权网络中的距离。

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

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

The shortest path length, or geodesic distance, between two nodes in a binary network is the minimum number of steps you need to make to go from one of them to the other. This distance is the quickest connection between nodes when all ties are the same. However, in a weighted network, all ties are not the same. See http://toreopsahl.com/2009/01/09/average-shortest-distance-in-weighted-networks/ for more deatails.
的最短路径的长度,或测地距离,在一个二进制网络的两个节点之间的最小数目是您需要使去从其中之一的其他步骤。此距离是最快的关系是相同的,当所有的节点之间的连接。然而,在加权网络,所有关系都是不一样的。见更多deatails http://toreopsahl.com/2009/01/09/average-shortest-distance-in-weighted-networks/。


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


distance_w(net, directed=NULL, gconly=TRUE, subsample=1, seed=NULL)



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

参数:net
A weighted edgelist
A加权EdgeList都


参数:directed
logical, whether the network is directed or undirected. Default is NULL, this means that the function checks whether the edgelist is directed or not.
逻辑,网络是否向或无向。默认值为null,这意味着该函数检查是否EdgeList都指示或。


参数:gconly
logical, whether the function should only be calculated for the giant component. Default is TRUE.
逻辑,功能是否应该只计算巨大的组件。默认值是TRUE。


参数:subsample
Whether a only a subset of starting nodes should we used when calculating the measure. This is particularly useful when running out of memory analysing large networks. If it is set to 1, all distances are analysed. If it set to a value below one, this is roughly the proportion of starting noes that will be analysed. If it is set to an interger greater than 1, this number of starting nodes that will be analysed.
无论是只有一小部分的起始节点,我们应该计算时使用的措施。运行时内存分析大型网络,这是特别有用的。如果它被设置为1,所有的距离进行了分析。如果将它设置到1以下的值,这是将要分析的起始不大致比例。如果它被设置为大于1的整数,这将要分析的起始节点。


参数:seed
If a subset of starting nodes is analysed, by setting this parameter, the results are reproducable.
如果开始节点的一个子集进行分析,通过设置此参数,结果重复性。


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

Returns a distance matrix.
返回的距离矩阵。


注意----------Note----------

version 1.0.0
版本1.0.0


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


Tore Opsahl; http://toreopsahl.com



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

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 16:22 , Processed in 0.031112 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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