clustering_w(tnet)
clustering_w()所属R语言包:tnet
Generalised clusering coefficient
广义clusering系数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function calculates the generalised clusering coefficient as proposed by Opsahl, T., Panzarasa, P., 2009. Clustering in weighted networks. Social Networks 31 (2), 155-163, doi: 10.1016/j.socnet.2009.02.002<br>
此功能的的广义clusering系数计算,T.,OPSAHL,Panzarasa,P.,2009年提出的。聚类算法在加权网络。社交网络31(2),155-163,DOI:10.1016/j.socnet.2009.02.002参考
用法----------Usage----------
clustering_w(net, measure = "am")
参数----------Arguments----------
参数:net
A weighted edgelist
A加权EdgeList都
参数:measure
The measure-switch control the method used to calculate the value of the triplets.<br> am implies the arithmetic mean method (default)<br> gm implies the geometric mean method<br> mi implies the minimum method<br> ma implies the maximum method<br> bi implies the binary measure<br> This can be c("am", "gm", "mi", "ma", "bi") to calculate all.
测量开关控制的方法来计算的价值三胞胎。参考上午意味着算术平均法(默认)参考克表示的几何平均数的方法参考英里,意味着最低的方法参考毫安意味着最大的方法参考BI意味着二进制措施<BR>的,这可以是c(“上午”,“GM”,“智”,“马”,“BI”)来计算所有。
值----------Value----------
Returns the outcome of the equation presented in the paper for the method specific (measure)
的公式返回的结果,文中提出的方法(措施)
注意----------Note----------
version 1.0.0
版本1.0.0
(作者)----------Author(s)----------
Tore Opsahl; http://toreopsahl.com
参考文献----------References----------
实例----------Examples----------
## Generate a random graph[#生成随机图]
#density: 300/(100*99)=0.03030303; [密度:300 /(100 * 99)= 0.03030303;]
#this should be average from random samples[这应该是从随机样本的平均值]
rg <- rg_w(nodes=100,arcs=300,weights=1:10)
## Run clustering function[#运行的聚类功能]
clustering_w(rg)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|