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

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

[复制链接]
发表于 2012-9-30 01:45:53 | 显示全部楼层 |阅读模式
pair(sgeostat)
pair()所属R语言包:sgeostat

                                        Pair Object
                                         对对象

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

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

Create a pair object from a point object.
创建一个对对象从一个点对象。

A pair object contains information defining pairs of points contained in a point object. A pair object is a list containing five vectors: from, to, lags, dist, and bins. The length of each of these vectors (except bins) is equal to the number of pairs of points being represented, say k. The vectors from and to contain pointers into the vectors of a point object, pointing to each member of the pair of points (e.g., from[k] points to si and to[k] points to sj). The vector dist contains the distance between the pairs of points. The vector lags contains the lag number to which each pair of points has been assigned. The vector bins contains
一个对对象包含的信息定义对点对象中包含的。一对对象的一个列表,其中包含五个向量:from,to,lags,dist和bins。每个这些矢量的长度(除了bins)的点所表示的对数相等,不妨设k。的矢量from和to包含向量的点对象的指针,指向的每个成员对点(例如,从[K]点,si和[K]点SJ )。向量dist包含对点之间的距离。向量lags包含编号,以每个点对已经分配的滞后。向量bins包含


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


pair(point.obj,num.lags=10,type='isotropic', theta=0, dtheta=5, maxdist)



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

参数:point.obj
a point object generated by point()  
点对象所产生的point()


参数:num.lags
the number of lags into which to divide the pairs of points in the pair object. The lags are all of equal size.  
滞后到其中在对对象的划分点的对的数目。的滞后是所有大小相等的。


参数:type
either  'isotropic' or 'anisotropic'. If 'isotropic' then all n \choose 2 possible pairs of points are represented in the pair object. If 'anisotropic', then the arguments theta and dtheta are used to determine which pairs of points to include.
是 'isotropic'或'anisotropic'。如果'isotropic'然后n \choose 2可能对点表示在对对象。如果'anisotropic',然后参数theta和dtheta用于确定点对。


参数:theta
an angle, measured in degrees from the horizontal x axis, that determines pairs of points to be included in the pair object (see Notes below).
的角度,在x轴的水平度测量,决定对点要包含在pair对象(看到下面的注释)。


参数:dtheta
a tolerance angle, around theta, measured in degrees that determines pairs of points to be included in the pair object (see Notes below).
一个宽容的角度,围绕theta,测量的程度,决定对被列入pair对象(看到下面的注释)。


参数:maxdist
the distance beyond which not to consider pairs of points. A large number of spatial locations can cause the pair function to consume a considerable amount of computation time. In most cases, spatial dependence can be adaquately characterized without examining the entire spaital extent of the data set.
超越不考虑对点的距离。有大量的空间位置,可引起pair函数消耗了相当数量的计算时间。在大多数情况下,空间依赖性可以adaquately其特征在于,无需检查数据集的整个spaital程度。


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

A pair object:
Apair对象:


参数:from
vector of indices into the point object for "from" point
矢量指数“,从”点的点对象


参数:to
vector of indices into the point object for "to" point
矢量指数的点对象“到”点


参数:lags
vector of spatial lags of each pair
向量的每对的空间滞后


参数:dist
vector of distances between each pair
向量的每对之间的距离


参数:bins
vector of spatial midpoints of each lag (used for plotting)
向量空间的每一个滞后中点(用于打印)


注:----------NOTE----------

Name of this function changed from pairs to pair to avoid conflicts with R's pairs function!!
该功能的名称从pairs到pairR的pairs函数,以避免冲突!!


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

When creating an anisotropic pair object, the assumption is that the direction, as well as the distance, between pairs of points is important in describing the variation. Using the theta and dtheta arguments, pairs of points that meet direction requirements can be selected. A pair of points will be included when the angle between the positive x axis and the vector formed by the pair of points falls within the tolerance angle given by
当创建的各向异性的一对对象,假设的是,描述的变化的方向,以及在对点之间的距离,是很重要的。使用的θ和dtheta论据,对点,满足方向要求可以被选择。甲双点时将包括由双点形成的正x轴和矢量之间的角度范围内的公差角由下式给出


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



参见----------See Also----------

point
point


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



maas.pair   <- pair(maas.point,num.lags=10,maxdist=2000)
maas.pair25 <- pair(maas.point,num.lags=10,type='anisotropic',
                      theta=25,maxdist=500)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 21:09 , Processed in 0.019273 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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