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

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

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

                                        Simulate point patterns using the Metropolis-Hastings algorithm.
                                         模拟使用的Metropolis-Hastings算法的点模式。

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

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

Generic function for running the Metropolis-Hastings algorithm to produce simulated realisations of a point process model.
运行的Metropolis-Hastings算法产生的点过程模型的模拟实现通用功能。


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


rmh(model, ...)



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

参数:model
The point process model to be simulated.  
点过程模型进行模拟。


参数:...
Further arguments controlling the simulation.  
进一步的论据控制的仿真。


Details

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

The Metropolis-Hastings algorithm can be used to generate simulated realisations from a wide range of spatial point processes. For caveats, see below.
大都市Hastings算法可以用来生成模拟实现了广泛的空间点过程。的注意事项,请参阅下文。

The function rmh is generic; it has methods rmh.ppm (for objects of class "ppm") and  rmh.default (the default). The actual implementation of the Metropolis-Hastings algorithm is contained in rmh.default. For details of its use, see  rmh.ppm or rmh.default.
函数rmh是通用的,它有一些方法rmh.ppm(用于类的对象"ppm")rmh.default(默认)。包含在rmh.default的Metropolis-Hastings算法的实际执引号况。其使用的详细信息,请参阅rmh.ppm或rmh.default。

[If the model is a Poisson process, then Metropolis-Hastings is not used; the Poisson model is generated directly using rpoispp or rmpoispp.]
[如果该模型是一个泊松过程,然后大都市黑斯廷斯不使用泊松模型直接生成使用rpoispp或rmpoispp。

In brief, the Metropolis-Hastings algorithm is a Markov Chain, whose states are spatial point patterns, and whose limiting distribution is the desired point process. After running the algorithm for a very large number of iterations, we may regard the state of the algorithm as a realisation from the desired point process.
在简短的Metropolis-Hastings算法是一个马尔可夫链,其状态空间点模式,和的极限分布是理想的点过程。在运行一个非常大的数量的迭代算法,我们可以把国家的算法作为实现所需的过程。

However, there are difficulties in deciding whether the algorithm has run for “long enough”. The convergence of the algorithm may indeed be extremely slow. No guarantees of convergence are given!
不过,也有困难的算法,以决定是否已经运行了足够长的时间“。该算法的收敛性可能确实是非常缓慢的。无担保的收敛!

While it is fashionable to decry the Metropolis-Hastings algorithm for its poor convergence and other properties, it has the advantage of being easy to implement for a wide range of models.
虽然这是很时髦的谴责差的收敛和其他财产的Metropolis-Hastings算法,它的优点是容易实现的多种型号。


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

A point pattern, in the form of an object of class "ppp". See rmh.default for details.
点模式,对象类"ppp"的形式。见rmh.default的详细信息。


警告----------Warning----------

As of version 1.22-1 of spatstat a subtle change was made to rmh.default().  We had noticed that the results produced were sometimes not “scalable” in that two models, differing in effect only by the units in which distances are measured and starting from the same seed, gave different results. This was traced to an idiosyncracy of floating point arithmetic. The code of rmh.default() has been changed so that the results produced by rmh are now scalable.  The downside of this is that code which users previously ran may now give results which are different from what they formerly were.
版本1.22-1 spatstat了微妙的变化作出rmh.default()。我们已经注意到产生的结果有时并不在这两种型号的“可扩展性”,只能由单位在测量距离和相同的种子开始从不同的效果,给出了不同的结果。追踪到的浮点运算的特质。 rmh.default()的代码已更改,这样的结果生产的rmh现在扩展。这种方法的缺点是,用户之前运行,现在可以给出的结果是不同的,从他们以前的代码。

In order to recover former behaviour (so that previous results can be reproduced) set spatstat.options(scalable=FALSE). See the last example in the help for rmh.default.
为了恢复以前的行为(以前的结果可以被复制)spatstat.options(scalable=FALSE)。见的帮助rmh.default最后一个例子。


(作者)----------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>




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

rmh.default
rmh.default


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


    # See examples in rmh.default and rmh.ppm[请参阅在rmh.default和rmh.ppm的例子]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 17:57 , Processed in 0.030899 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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