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

R语言 spatialCovariance包 precompute()函数中文帮助文档(中英文对照)

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

                                        Precompute Step for Computing Covariance Matrix
                                         预先计算步骤,计算协方差矩阵

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

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

For a lattice with nr rows and nc columns on only needs to compute $n=nr X nc$ entries to fill the whole covariance matrix (of size $n X n$).  For example, the diagonal entries will all be the same so one only needs to compute it once and know that the value needs to be placed along the diagonal. This algorithm figures out which entries need to be computed, and how to insert them into the covariance matrix.
与nr行nc列只需要计算$ N = NR X NC $项,填补了整个协方差矩阵的大小$ n X n的一个格子。例如,对角元素都将是相同的,所以我们只需要计算一次,知道的价值需要被放置沿对角线。该算法计算出哪些项目需要计算,以及如何将它们插入到协方差矩阵。

When an anisotropy term aniso is included in the direction of rows and columns it changes how distance is measure from $sqrt (x^2+y^2)$ to $sqrt (x^2+ alpha^2 y^2)$.  This amounts to stretching the lattice in the appropriate direction by a factor of $alpha$.  We can update the results of the precompute stage very easily.
当各向异性术语aniso的行和列的方向改变了距离测量从$ SQRT(X ^ 2 + Y ^ 2)$ $的sqrt(x ^ 2 +α^ 2 Y ^ 2)$。这相当于美元的α$的一个因素,在适当的方向上拉伸的晶格。我们可以更新precompute阶段的结果很容易。


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


precompute(nrows,ncols,rowwidth,colwidth,rowsep,colsep,cat.level=0)



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

precompute(nrows,ncols,rowwidth,colwidth,rowsep,colsep,cat.level)



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

参数:nrows,ncols
Number of rows and columns in the lattice
在晶格中的行数和列数


参数:rowwidth, colwidth
Dimensions of the rectangle
矩形的尺寸


参数:rowsep,colsep
Vectors of separations between rows and columns. Pass scalars if the separations are constant in each direction.
向量的行和列之间的分离。通过分色是恒定的,如果在每个方向的标量。


参数:cat.level
0,0.5,1, changes the amount of output.  Output is limited to times for various stages of the computation
0,0.5,1,改变的输出量。输出被限制在计算各阶段的时间


参数:aniso
Value of anisotropy parameter in the direction of rows and columns.  Should be a positive number.
的行和列的方向上的各向异性参数的值。应该是一个正数。


参数:info
Result of the precompute stage
结果的预先计算阶段


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


David Clifford



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


## See computeV help page for more details and examples[#见computeV的帮助页面更多细节和例子]

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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