gden(sna)
gden()所属R语言包:sna
Find the Density of a Graph
密度的图形
译者:生物统计家园网 机器人LoveR
描述----------Description----------
gden computes the density of the graphs indicated by g in collection dat, adjusting for the type of graph in question.
gden计算密度的图形表示g收集dat,图中问题的类型进行调整。
用法----------Usage----------
gden(dat, g=NULL, diag=FALSE, mode="digraph", ignore.eval=FALSE)
参数----------Arguments----------
参数:dat
one or more input graphs.
一个或多个输入图表。
参数:g
integer indicating the index of the graphs for which the density is to be calculated (or a vector thereof). If g==NULL (the default), density is calculated for all graphs in dat.
整数,指示要被计算的密度(或它们的向量)的曲线图的索引。所有图形在g==NULL如果dat(默认值),计算密度。
参数:diag
boolean indicating whether or not the diagonal should be treated as valid data. Set this true if and only if the data can contain loops. diag is FALSE by default.
布尔值,表示是否对角线应被视为有效的数据。设置这是真的,当且仅当数据可以包含循环。 diag是FALSE默认情况下。
参数:mode
string indicating the type of graph being evaluated. "digraph" indicates that edges should be interpreted as directed; "graph" indicates that edges are undirected. mode is set to "digraph" by default.
的图表类型的字符串,表示正在评估中。表明边缘应被解释为指示“有向图”,“图形”表明边缘是无向。 mode设置为默认情况下,“有向图”。
参数:ignore.eval
logical; should edge values be ignored when calculating density?
逻辑,边缘值计算密度时被忽略吗?
Details
详细信息----------Details----------
The density of a graph is here taken to be the sum of tie values divided by the number of possible ties (i.e., an unbiased estimator of the graph mean); hence, the result is interpretable for valued graphs as the mean tie value when ignore.eval==FALSE. The number of possible ties is determined by the graph type (and by diag) in the usual fashion.
密度图在这里采取的是TIE值的总和除以数量的可能的关系(即无偏估计的图形的意思),因此,结果可解释为尊贵的平均领带值图 ignore.eval==FALSE。可能的关系的图表类型(diag)以通常的方式是由数。
值----------Value----------
The graph density
图密度
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|