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

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

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

                                         Residual G Function
                                         剩余的G功能

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

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

Given a point process model fitted to a point pattern dataset, this function computes the residual G function, which serves as a diagnostic for goodness-of-fit of the model.
给定一个点过程模型安装阵列点数据集,这个函数计算的剩余G功能,它作为一个诊断模型拟合善良的。


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


   Gres(object, ...)



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

参数:object
Object to be analysed. Either a fitted point process model (object of class "ppm"), a point pattern (object of class "ppp"), a quadrature scheme (object of class "quad"), or the value returned by a previous call to Gcom.  
对象,以进行分析。无论是拟合点过程模型(类的对象"ppm"),点模式(类的对象"ppp"),一个正交计划(类的对象"quad"),或返回的值由以前调用Gcom。


参数:...
Arguments passed to Gcom.  
传递参数到Gcom。


Details

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

This command provides a diagnostic for the goodness-of-fit of a point process model fitted to a point pattern dataset. It computes a residual version of the G function of the dataset, which should be approximately zero if the model is a good fit to the data.
此命令提供了一个诊断,适合安装阵列点数据集的点过程模型的恩惠。计算剩余版本的G的数据集的功能,这应该是接近于零的数据如果模型是一个不错的选择。

In normal use, object is a fitted point process model or a point pattern. Then Gres first calls Gcom to compute both the nonparametric estimate of the G function and its model compensator. Then Gres computes the difference between them, which is the residual G-function.
在正常使用,object是一个安装点过程模型或点模式。然后Gres第一次调用Gcom计算G功能的非参数估计和模型补偿的。然后Gres计算它们之间的差值,这是残余G功能。

Alternatively, object may be a function value table (object of class "fv") that was returned by a previous call to Gcom. Then Gres computes the residual from this object.
另外,object可能是函数值表(对象类的"fv")所返回的上一次调用Gcom。 Gres计算的剩余可从该对象。


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

A function value table (object of class "fv"), essentially a data frame of function values. There is a plot method for this class. See fv.object.
类的对象的函数值表("fv"),本质上是一个数据框的函数值。有一个图,这个类的方法。见fv.object。


(作者)----------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>
Ege Rubak and Jesper Moller.




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

Score, pseudo-score and residual diagnostics for spatial point process models. Statistical Science 26, 613&ndash;646.

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

Related functions: Gcom,  Gest.
相关功能:Gcom,Gest。

Alternative functions: Kres,  psstA,  psstG,  psst.
替代功能:Kres,psstA,psstG,psst。

Model-fitting: ppm.
模型拟合:ppm。


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


    data(cells)
    fit0 &lt;- ppm(cells, ~1) # uniform Poisson[统一的泊松]
    G0 <- Gres(fit0)
    plot(G0)
# Hanisch correction estimate[Hanisch校正估计]
    plot(G0, hres ~ r)
# uniform Poisson is clearly not correct[均匀泊松显然是不正确的]

    fit1 <- ppm(cells, ~1, Strauss(0.08))
    plot(Gres(fit1), hres ~ r)
# fit looks approximately OK; try adjusting interaction distance[适合看上去尝试调节作用距离约为OK;]

    plot(Gres(cells, interaction=Strauss(0.12)))

# How to make envelopes[如何使信封]
    ## Not run: [#不运行:]
    E <- envelope(fit1, Gres, interaction=as.interact(fit1), nsim=39)
    plot(E)
   
## End(Not run)[#(不执行)]
# For computational efficiency[为了计算效率]
    Gc <- Gcom(fit1)
    G1 <- Gres(Gc)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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