eval.edgeperturbation(sna)
eval.edgeperturbation()所属R语言包:sna
Compute the Effects of Single-Edge Perturbations on Structural Indices
结构指数计算单边缘扰动的影响
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Evaluates a given function on an input graph with and without a specified edge, returning the difference between the results in each case.
计算输入图上的一个给定的功能,具有和不具有指定的边缘,返回在每一种情况下的结果之间的差异。
用法----------Usage----------
eval.edgeperturbation(dat, i, j, FUN, ...)
参数----------Arguments----------
参数:dat
A single adjacency matrix
一个单一的邻接矩阵
参数:i
The row(s) of the edge(s) to be perturbed
的行(s)的边缘(s)到被摄动
参数:j
The column(s) of the edge(s) to be perturbed
边缘的列(s)的(S)以扰动的
参数:FUN
The function to be computed
要计算的函数
参数:...
Additional arguments to FUN
额外的参数FUN
Details
详细信息----------Details----------
Although primarily a back-end utility for pstar, eval.edgeperturbation may be useful in any circumstance in which one wishes to assess the stability of a given structural index with respect to single edge perturbations. The function to be evaluated is calculated first on the input graph with all marked edges set to present, and then on the same graph with said edges absent. (Obviously, this is sensible only for dichotomous data.) The difference is then returned.
虽然主要是一个后端的实用程序,用于pstar,eval.edgeperturbation可能是有用的,在任何情况下,在其中一个愿望,以评估相对于单边沿扰动的稳定的一个给定的结构索引。计算得到的第一输入图设定为显示所有标记的边缘,然后在同一个图说边缘不存在的功能进行评估。 (显然,这是明智的只有二分类数据。)的区别,然后返回。
In pstar, calls to eval.edgeperturbation are used to construct a perturbation effect matrix for the GLM.
在pstar,调用eval.edgeperturbation用于构建扰动效应矩阵的GLM。
值----------Value----------
The difference in the values of FUN as computed on the perturbed graphs.
FUN的价值观的差异计算的摄动图表。
注意----------Note----------
length(i) and length(j) must be equal; where multiple edges are specified, the row and column listings are interpreted as pairs.
length(i)和length(j)必须等于多沿被指定的行和列的列表解释为对。
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
#Create a random graph[创建一个随机图]
g<-rgraph(5)
#How much does a one-edge change affect reciprocity?[多少钱一个边缘的变化影响互惠吗?]
eval.edgeperturbation(g,1,2,grecip)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|