triad.census(sna)
triad.census()所属R语言包:sna
Compute the Davis and Leinhardt Triad Census
计算的戴维斯和Leinhardt的三合会人口普查
译者:生物统计家园网 机器人LoveR
描述----------Description----------
triad.census returns the Davis and Leinhardt triad census of the elements of dat indicated by g.
triad.census返回的·戴维斯和Leinhardt的黑社会人口普查的元素datg的。
用法----------Usage----------
triad.census(dat, g=NULL, mode = c("digraph", "graph"))
参数----------Arguments----------
参数:dat
a graph or graph stack.
图形或图形堆栈。
参数:g
the elements of dat to process.
元素的dat处理。
参数:mode
string indicating the directedness of edges; "digraph" implies a directed structure, whereas "graph" implies an undirected structure.
字符串,表示directedness的边缘,“"digraph"意味着一个定向的结构,而"graph"意味着一个无向结构。
Details
详细信息----------Details----------
The Davis and Leinhardt triad census consists of a classification of all directed triads into one of 16 different categories; the resulting distribution can be compared against various null models to test for the presence of configural biases (e.g., transitivity bias). triad.census is a front end for the triad.classify routine, performing the classification for all triads within the selected graphs. The results are placed in the order indicated by the column names; this is the same order as presented in the triad.classify documentation, to which the reader is referred for additional details.
的戴维斯和Leinhardt的黑社会人口普查包括向黑社会的分类成16个不同的类别之一,分配的结果进行比较,不同的零模型来测试的构形的偏见的存在(例如,传递偏差)。 triad.censustriad.classify常规的前端,黑社会在所选图形进行分类。结果被放置在列名指示的顺序; triad.classify文件的读者可以参考更多详细信息,这是相同的顺序。
In the undirected case, the triad census reduces to four states (based on the number of edges in each triad. Where mode=="graph", this is returned instead.
在无向的情况下,黑社会人口普查减少到四个国家(在每一个黑社会的边数的基础上。这里“mode=="graph",这是返回,而不是。
Compare triad.census to dyad.census, the dyadic equivalent.
比较triad.census到dyad.census,相当于二进。
值----------Value----------
A matrix whose 16 columns contain the counts of triads by class for each graph, in the directed case. In the undirected case, only 4 columns are used.
一个矩阵,其16列,每个图包含计数的类的黑社会,在指示的情况下。在无向的情况下,只有4列使用。
警告----------Warning ----------
Valued data may cause strange behavior with this routine. Dichotomize the data first.
有价值的数据,这个程序可能会导致奇怪的行为。第一个二分的数据。
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参考文献----------References----------
参见----------See Also----------
triad.classify, dyad.census, kcycle.census, kpath.census, gtrans
triad.classify,dyad.census,kcycle.census,kpath.census,gtrans
实例----------Examples----------
#Generate a triad census of random data with varying densities[与不同密度的随机数据生成一个黑社会人口普查]
triad.census(rgraph(15,5,tprob=c(0.1,0.25,0.5,0.75,0.9)))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|