gdist.plotdiff(sna)
gdist.plotdiff()所属R语言包:sna
Plot Differences in Graph-level Statistics Against Inter-graph Distances
图差异对图形间距离的图形统计
译者:生物统计家园网 机器人LoveR
描述----------Description----------
For a given graph set, gdist.plotdiff plots the distances between graphs against their distances (or differences) on a set of graph-level measures.
对于一个给定的图形集,gdist.plotdiff绘制图形之间的距离,对他们的距离(或差异)上的一组曲线图级措施。
用法----------Usage----------
gdist.plotdiff(d, meas, method="manhattan", jitter=TRUE,
xlab="Inter-Graph Distance", ylab="Measure Distance",
lm.line=FALSE, ...)
参数----------Arguments----------
参数:d
A matrix containing the inter-graph distances
一个矩阵图间的距离
参数:meas
An n x m matrix containing the graph-level indices; rows of this matrix must correspond to graphs, and columns to indices
一个nxm矩阵,其中包含的图形水平指数,这个矩阵中的行对应的图表,和列的索引
参数:method
The distance method used by dist to establish differences/distances between graph GLI values. By default, absolute ("manhattan") differences are used.
距离的方法使用dist建立差异/图GLI值之间的距离。默认情况下,使用绝对(“曼哈顿”)的差异。
参数:jitter
Should values be jittered prior to display?
抖动值显示之前呢?
参数:xlab
A label for the X axis
为X轴的标签
参数:ylab
A label for the Y axis
Y轴的标签
参数:lm.line
Include a least-squares line?
包括最小二乘线?
参数:...
Additional arguments to plot
额外的参数plot
Details
详细信息----------Details----------
gdist.plotdiff works by taking the distances between all graphs on meas and then plotting these distances against d for all pairs of graphs (with, optionally, an added least-squares line for reference value). This can be a useful exploratory tool for relating inter-graph distances (e.g., Hamming distances) to differences on other attributes.
gdist.plotdiff的工作方式上采取的所有图形之间的距离meas“,然后绘制这些距离对d对所有的图表(与(可选),一个额外的最小二乘线的参考价值) 。这可以是对其他属性的差异有关的图形间的距离(例如,汉明距离)的一个有用的探索性的工具。
值----------Value----------
None
无
注意----------Note----------
This function is actually quite generic, and can be used with node-level – or even non-network – data as well.
这个函数实际上是相当通用的,并且可以用于与节点级 - 甚至非网络 - 数据,以及。
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
#Generate some random graphs with varying densities[与不同密度,产生一些随机图]
g<-rgraph(10,20,tprob=runif(20,0,1))
#Find the Hamming distances between graphs[的汉明之间的距离图]
g.h<-hdist(g)
#Plot the relationship between distance and differences in density[绘制距离和密度的差异之间的关系]
gdist.plotdiff(g.h,gden(g),lm.line=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|