找回密码
 注册
查看: 475|回复: 0

R语言 sna包 gdist.plotstats()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 10:52:15 | 显示全部楼层 |阅读模式
gdist.plotstats(sna)
gdist.plotstats()所属R语言包:sna

                                         Plot Various Graph Statistics Over a Network MDS
                                         通过网络MDS绘制各种图形统计

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Plots a two-dimensional metric MDS of d, with the corresponding values of meas indicated at each point.  Various options are available for controlling how meas is to be displayed.
图解一个二维度量MDSd,meas在每个点表示的相应值。有多种选项用于控制如何meas是要显示。


用法----------Usage----------


gdist.plotstats(d, meas, siz.lim=c(0, 0.15), rescale="quantile",
    display.scale="radius", display.type="circleray", cex=0.5, pch=1,
    labels=NULL, pos=1, labels.cex=1, legend=NULL, legend.xy=NULL,
    legend.cex=1, ...)



参数----------Arguments----------

参数:d
A matrix containing the inter-graph distances
一个矩阵图间的距离


参数:meas
An nxm matrix containing the graph-level measures; each row must correspond to a graph, and each column must correspond to an index
一个nxm矩阵图,每行必须对应于图表,每列必须对应于索引


参数:siz.lim
The minimum and maximum sizes (respectively) of the plotted symbols, given as fractions of the total plotting range
的最小和最大尺寸(分别)的绘制的符号,作为总的绘制范围的分数给出


参数:rescale
One of “quantile” for ordinal scaling, “affine” for max-min scaling, and “normalize” for rescaling by maximum value; these determine the scaling rule to be used in sizing the plotting symbols
之一,“分量”序缩放“仿射”max-min的缩放,和“标准化”重新缩放由最大值,这些确定的缩放规则中要使用的大小的绘图符号


参数:display.scale
One of “area” or “radius”; this controls the attribute of the plotting symbol which is rescaled by the value of meas
的一个“区域”或“半径”;控制被重新调节由meas的值的属性的绘图符号


参数:display.type
One of “circle”, “ray”, “circleray”, “poly”, or “polyray”; this determines the type of plotting symbol used (circles, rays, polygons, or come combination of these)
的一个“圆”,“雷人”,“circleray”,“聚”,或“宝辉”,这决定用于绘制符号的类型(圆,光,多边形,或这些来组合)


参数:cex
Character expansion coefficient
字符膨胀系数


参数:pch
Point types for the base plotting symbol (not the expanded symbols which are used to indicate meas values)
碱基绘图符号(未扩展的符号这是用来表示meas值)的点类型


参数:labels
Point labels, if desired
点标签,如果需要的话


参数:pos
Relative position of labels (see par)
标签(见par)的相对位置


参数:labels.cex
Character expansion factor for labels
字符膨胀系数的标签


参数:legend
Add a legend?
添加一个传说?


参数:legend.xy
x,y coordinates for legend
x,y坐标的传说


参数:legend.cex
Character expansion factor for legend
字符膨胀系数传说


参数:...
Additional arguments to plot
额外的参数plot


Details

详细信息----------Details----------

gdist.plotstats works by performing an MDS (using cmdscale) on d, and then using the values in meas to determine the shape of the points at each MDS coordinate.  Typically, these shapes involve rays of varying color and length indicating meas magnitude, with circles and polygons of the appropriate radius and/or error being options as well.  Various options are available (described above) to govern the details of the data display; some tinkering may be needed in order to produce an aesthetically pleasing visualization.
gdist.plotstats作品进行MDS(使用cmdscale)d,然后在meas使用的值,以确定每个MDS坐标的点的形状。通常情况下,这些形状不同的颜色和长度指示meas幅度,与圆和多边形的适当的半径和/或误差选项,以及涉及射线。有多种选项(如上所述),以规范的细节数据显示,可能需要一些修修补补,以产生美观的可视化。

The primary use of gdist.plotstats is to explore broad relationships between graph properties and inter-graph distances.  This routine complements others in the gdist and gclust family of interstructural visualization tools.
gdist.plotstats的主要用途是探索图形性能和广泛的关系,图间的距离。常规补充人在gdist和gclust家庭interstructural可视化工具。


值----------Value----------

None



注意----------Note----------

This routine does not actually depend on the data's being graphic in origin, and can be used with any distance matrix/measure matrix combination.
实际上,这个程序不依赖于数据的图形的起源,可以使用任何距离矩阵/测量矩阵的组合。


(作者)----------Author(s)----------


Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>



参考文献----------References----------

<h3>See Also</h3>

实例----------Examples----------


#Generate random graphs with varying density[具有不同的密度,生成随机图]
g<-rgraph(10,20,tprob=runif(20,0,1))

#Get Hamming distances between graphs[获取海明之间的距离图]
g.h<-hdist(g)

#Plot the association of distance, density, and reciprocity[绘制关联的距离,密度和互惠]
gdist.plotstats(g.h,cbind(gden(g),grecip(g)))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-4 21:09 , Processed in 0.024610 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表