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

R语言 spatgraphs包 spatgraphs-weight()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:38:16 | 显示全部楼层 |阅读模式
spatgraphs-weight(spatgraphs)
spatgraphs-weight()所属R语言包:spatgraphs

                                        Weight edges
                                         重量边缘

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

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

Weight edges with a given function of node-node Euclidian distances.  
重量边缘与给定函数的节点,节点的欧几里得距离。


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


   weight.sg(x, pp, f=function(x) exp(-x^2/scale), scale=1, ...)
   sg2wadj(x)



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

参数:x
Graph.
图表。


参数:pp
Point pattern.
点模式。


参数:f
R-function for weight computation; a function of distance.
权重计算的R-函数的距离的函数。


参数:scale
Scaling factor used in (possibly) in f.
缩放因素(可能)在f。


参数:...
Further parameters (ignored at the moment.)
其他参数(忽略的时刻。)


Details

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


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

returns the graph x with additional compontent $weights that contains the weights  for edges listed in $edges. For example, if x$edges[[1]] is c(2,3), and x$weights is c(1, 0.5), then the weight of edge 1->2 is 1 and edge 1->3 is 0.5.
图x返回额外compontent元的权重,其中包含的边的权重$边缘中列出。例如,如果x $边缘[[1]]为c(2,3),和×$权重是c(1,0.5),然后边缘1的重量 - >图2是1和边缘1  - >图3是0.5。

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 04:21 , Processed in 0.022535 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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