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

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

[复制链接]
发表于 2012-9-30 13:31:14 | 显示全部楼层 |阅读模式
Gdot(spatstat)
Gdot()所属R语言包:spatstat

                                         Multitype Nearest Neighbour Distance Function (i-to-any)
                                         多类型的最近邻距离函数(我到任何)

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

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

For a multitype point pattern,  estimate the distribution of the distance from a point of type i to the nearest other point of any type.
对于多类型的点模式,估计从一个点类型i最近的其他任何类型的分布的距离。


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


Gdot(X, i, r=NULL, breaks=NULL, ..., correction=c("km", "rs", "han"))



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

参数:X
The observed point pattern,  from which an estimate of the  distance distribution function Gi.(r) will be computed. It must be a multitype point pattern (a marked point pattern whose marks are a factor). See under Details.  
所观察到的点图案,从其中一个估计的距离分布函数Gi.(r)将被计算出来的。它必须是一个多类型的点模式(一个标记点图案的标记是一个因素)。请参阅“详细信息”下。


参数:i
The type (mark value) of the points in X from which distances are measured. A character string (or something that will be converted to a character string). Defaults to the first level of marks(X).  
X距离的测量点的类型(标记值)。一个字符串(或东西都将被转换为一个字符串)。默认的第一级marks(X)。


参数:r
Optional. Numeric vector. The values of the argument r at which the distribution function Gi.(r) should be evaluated. There is a sensible default. First-time users are strongly advised not to specify this argument. See below for important conditions on r.  
可选。数字矢量。的参数的值r的分布函数Gi.(r)应该进行评估。有一个合理的默认。我们强烈建议用户第一次不指定此参数。请参阅下面的重要条件r。


参数:breaks
An alternative to the argument r. Not normally invoked by the user. See the Details section.  
替代到的参数r。通常不是由用户调用。查看详细信息“一节。


参数:...
Ignored.
忽略。


参数:correction
Optional. Character string specifying the edge correction(s) to be used. Options are "none", "rs", "km", "hanisch" and "best".  
可选。字符的字符串指定的边缘校正(s)到被使用。选项"none","rs","km","hanisch"和"best"。


Details

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

This function Gdot and its companions Gcross and Gmulti are generalisations of the function Gest to multitype point patterns.
此功能Gdot和它的同伴Gcross和Gmulti的功能Gest多类型,点模式的概括。

A multitype point pattern is a spatial pattern of points classified into a finite number of possible “colours” or “types”. In the spatstat package, a multitype pattern is represented as a single  point pattern object in which the points carry marks, and the mark value attached to each point determines the type of that point.
一个多类型的模式是一个空间格局分为有限数量的可能的“颜色”或“类型”的点。在spatstat包,多类型图案表示作为一个单一的点图案在该点进行标记的对象,并连接到每个点的标记值确定该点的类型。

The argument X must be a point pattern (object of class "ppp") or any data that are acceptable to as.ppp. It must be a marked point pattern, and the mark vector X$marks must be a factor. The argument will be interpreted as a level of the factor X$marks. (Warning: this means that an integer value i=3 will be interpreted as the number 3, not the 3rd smallest level.)
参数X必须是点模式(类的对象"ppp")或任何数据到as.ppp是可以接受的。它必须是一个显着的点图案,并标记矢量X$marks必须是一个因素。参数将被解释为一个水平的因素X$marks。 (警告:这意味着一个整数值i=3将被解释为数字3,而不是第三最小的水平。)

The “dot-type” (type i to any type) nearest neighbour distance distribution function  of a multitype point process  is the cumulative distribution function Gi.(r) of the distance from a typical random point of the process with type i the nearest other point of the process, regardless of type.
“点式”(类型i任何类型)最近邻距离分布函数的多类型点过程中的累积分布函数Gi.(r)的距离一个典型的随机点的过程,类型i最近的其他点的过程中,无论什么类型。

An estimate of Gi.(r) is a useful summary statistic in exploratory data analysis of a multitype point pattern. If the type i points were independent of all other points, then Gi.(r) would equal Gii(r), the nearest neighbour distance distribution function of the type i points alone. For a multitype Poisson point process with total intensity lambda, we have
Gi.(r)的估计是一个多类型模式的探索性数据分析的一个有用的摘要统计。类型i点是独立于所有其他各点,然后Gi.(r)就等于Gii(r),最近邻距离分布函数的类型是单独i点。总强度lambda对于多类型Poisson点过程中,我们有

Deviations between the empirical and theoretical Gi. curves may suggest dependence of the type i points on the other points.
之间的偏差的理论和实证Gi.曲线可能会建议i点上的其他各点的类型的依赖。

This algorithm estimates the distribution function Gi.(r)  from the point pattern X. It assumes that X can be treated as a realisation of a stationary (spatially homogeneous)  random spatial point process in the plane, observed through a bounded window. The window (which is specified in X as X$window) may have arbitrary shape. Biases due to edge effects are treated in the same manner as in Gest.
该算法估计分布函数Gi.(r)点模式X。它假定X可以被视为一个实现了一个固定的(的空间均匀)随机空间点在飞机上,观察到一个有限的窗口。窗口(中指定XX$window的)可以有任意形状的。边缘效应产生的偏差的处理中相同的方式,当在Gest。

The argument r is the vector of values for the distance r at which Gi.(r) should be evaluated.  It is also used to determine the breakpoints (in the sense of hist) for the computation of histograms of distances. The reduced-sample and Kaplan-Meier estimators are computed from histogram counts.  In the case of the Kaplan-Meier estimator this introduces a discretisation error which is controlled by the fineness of the breakpoints.
参数r是向量的值的距离r,Gi.(r)应该进行评估。它也可以用来确定断点(在感hist)的直方图的距离的计算。减少了样品和Kaplan-Meier估计从直方图数量计算。在Kaplan-Meier法估计的情况下,引入了离散误差控制细度的断点。

First-time users would be strongly advised not to specify r. However, if it is specified, r must satisfy r[1] = 0,  and max(r) must be larger than the radius of the largest disc  contained in the window. Furthermore, the successive entries of r must be finely spaced.
用户第一次将强烈建议不指定r的。然而,如果它被指定,r必须满足r[1] = 0,和max(r)必须大于包含在窗口中的最大的光盘的半径。此外,连续进入r必须进行精细的间隔。

The algorithm also returns an estimate of the hazard rate function,  lambda(r), of Gi.(r).  This estimate should be used with caution as Gi.(r) is not necessarily differentiable.
该算法也将返回的危险率函数的估计,lambda(r),Gi.(r)。这个估计应谨慎使用,因为Gi.(r)不一定是微。

The naive empirical distribution of distances from each point of the pattern X to the nearest other point of the pattern,  is a biased estimate of Gi.. However this is also returned by the algorithm, as it is sometimes  useful in other contexts. Care should be taken not to use the uncorrected empirical Gi. as if it were an unbiased estimator of Gi..
天真的经验分布模式X最近的其他点的模式,每个点的距离,是一个有偏估计Gi.。然而,这也由该算法返回,有时是有用的,因为它是在其他情况下。应注意不要使用未校正的经验Gi.如果它是一个无偏估计Gi.。


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

An object of class "fv" (see fv.object).
类的一个对象"fv"(见fv.object)。

Essentially a data frame containing six numeric columns
本质上是一个数据框包含6个数字列


参数:r
the values of the argument r  at which the function Gi.(r) has been  estimated  
的参数的值的r在哪些函数Gi.(r)已估计


参数:rs
the “reduced sample” or “border correction” estimator of Gi.(r)  
“减少样品”或“边界校正”估计Gi.(r)


参数:han
the Hanisch-style estimator of Gi.(r)  
Hanisch式估计Gi.(r)


参数:km
the spatial Kaplan-Meier estimator of Gi.(r)  
Kaplan-Meier生存的空间估计Gi.(r)


参数:hazard
the hazard rate lambda(r) of Gi.(r) by the spatial Kaplan-Meier method  
危险率lambda(r)Gi.(r)的空间Kaplan-Meier法


参数:raw
the uncorrected estimate of Gi.(r), i.e. the empirical distribution of the distances from  each point of type i to the nearest other point of any type.  
未校正的估计Gi.(r),即从每个点的类型i至最接近的其他任何类型的点的距离的经验分布。


参数:theo
the theoretical value of Gi.(r) for a marked Poisson process with the same estimated intensity (see below).  
Gi.(r)显着的泊松过程的估计强度(见下文)的理论值。


警告----------Warnings----------

The argument i is interpreted as a level of the factor X$marks. It is converted to a character string if it is not already a character string. The value i=1 does not refer to the first level of the factor.
解释的参数i作为的因素X$marks的水平。如果它不是已经是一个字符串,它被转换为一个字符串。值i=1不是指第一级的因素。

The function Gi. does not necessarily have a density.
的功能Gi.不一定具有的密度。

The reduced sample estimator of Gi. is pointwise approximately  unbiased, but need not be a valid distribution function; it may  not be a nondecreasing function of r. Its range is always  within [0,1].
减少样本估计Gi.逐点约是公正的,但不必是一个有效的分布函数,它可能不会是一个非减函数的r。它的范围是总是在[0,1]。

The spatial Kaplan-Meier estimator of Gi. is always nondecreasing but its maximum value may be less than 1.
的空间的Kaplan-Meier估计的Gi.总是非降,但其最大的值可以是小于1。


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


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>




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

John Wiley and Sons, 1991.
Academic Press, 1983.
Displaced amacrine cells in the retina of a rabbit : analysis of a bivariate spatial point pattern.  J. Neurosci. Meth. 18, 115&ndash;125.
A bivariate spatial point pattern of ants' nests. Applied Statistics 32, 293&ndash;303
Methods for analysing spatial processes of several types of points. J. Royal Statist. Soc. Ser. B 44, 406&ndash;413.
Cambridge University Press, 1988.
Stochastic geometry and its applications. 2nd edition. Springer Verlag, 1995.
Indices of dependence between types in multivariate point patterns. Scandinavian Journal of Statistics 26, 511&ndash;532.

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

Gcross, Gest, Gmulti
Gcross,Gest,Gmulti


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


    data(betacells)
     # cat retina data[猫的视网膜数据]
    G0. <- Gdot(betacells, "off")
    plot(G0.)

    # synthetic example    [合成例]
    pp <- runifpoispp(30)
    pp <- pp %mark% factor(sample(0:1, npoints(pp), replace=TRUE))
    G <- Gdot(pp, "0")
    G &lt;- Gdot(pp, 0) # equivalent[当量]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-15 02:29 , Processed in 0.023697 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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