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

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

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

                                        Determine Initial State for Metropolis-Hastings Simulation.
                                         确定大都市黑斯廷斯模拟的初始状态。

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

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

Builds a description of the initial state for the Metropolis-Hastings algorithm.
生成的Metropolis-Hastings算法的初始状态的描述。


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


   rmhstart(start, ...)
   ## Default S3 method:
rmhstart(start=NULL, ..., n.start=NULL, x.start=NULL)



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

参数:start
An existing description of the initial state in some format. Incompatible with the arguments listed below.  
的初始状态中的某种格式的一个现有的描述。下面列出的参数不相容的。


参数:...
There should be no other arguments.
不应该有任何其他的参数。


参数:n.start
Number of initial points (to be randomly generated). Incompatible with x.start.  
初始点的数(随机生成的)。不相容的x.start。


参数:x.start
Initial point pattern configuration. Incompatible with n.start.  
初始点模式配置。不相容的n.start。


Details

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

Simulated realisations of many point process models can be generated using the Metropolis-Hastings algorithm implemented in rmh.
可以实现多点过程模型模拟生成的采用了Metropolis-Hastings算法实现在rmh。

This function rmhstart creates a full description of the initial state of the Metropolis-Hastings algorithm, including possibly the initial state of the random number generator, for use in a subsequent call to rmh. It also checks that the initial state is valid.
此功能rmhstart创建一个完整的描述的Metropolis-Hastings算法的初始状态,可能包括随机数生成器的初始状态,在后续调用rmh使用。它还检查的初始状态是有效的。

The initial state should be specified either by the first argument start or by the other arguments n.start, x.start etc.
应指定的第一个参数start或其他参数n.start,x.start等的初始状态

If start is a list, then it should have components named  n.start or x.start, with the same interpretation as described below.
如果start是一个列表,那么它应该有名为n.start或x.start的组件,如下所述相同的解释。

The arguments are:
这些参数是:

The number of “initial” points to be randomly (uniformly) generated in the simulation window w. Incompatible with x.start.
“初始的”点是随机(均匀地)中产生的模拟窗口w的数量。不相容的x.start。

For a multitype point process, n.start may be a vector (of length equal to the number of types) giving the number of points of each type to be generated.  
对于一个多类型的点进程,n.start可能给人要生成的每种类型的点的数目是一个矢量(长度的种类数相等)。

If expansion of the simulation window is selected (see the argument expand to rmhcontrol), then the actual number of starting points in the simulation will be n.start multiplied by the expansion factor (ratio of the areas of the expanded window and original window).
如果扩展的模拟窗口被选择时(请参阅参数expandrmhcontrol),然后在模拟中的起点的实际数量将n.start乘以由膨胀系数(比率为扩大窗口和原窗口的区域)。

For faster convergence of the Metropolis-Hastings algorithm, the value of n.start should be roughly equal to (an educated guess at) the expected number of points for the point process inside the window.
的Metropolis-Hastings算法收敛更快,n.start的价值应大致相等(一个受过教育的猜测)点窗口内的预期数量的点。

Initial point pattern configuration. Incompatible with n.start.
初始点模式配置。不相容的n.start。

x.start may be a point pattern (an object of class ppp), or an object which can be coerced to this class by as.ppp, or a dataset containing vectors x and y.  
x.start可能是一个点模式(一个对象类ppp),或as.ppp,,包含向量x或数据集,可以强制转换为这个类的一个对象,它和y。

If x.start is specified, then expansion of the simulation window (the argument expand of rmhcontrol) is not permitted.
如果x.start指定的模拟窗口,然后扩展(参数expandrmhcontrol)是不允许的。

The parameters n.start and x.start are incompatible.
参数n.start和x.start是不兼容的。


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

An object of class "rmhstart", which is essentially a list of parameters describing the initial point pattern and (optionally) the initial state of the random number generator.
类"rmhstart",它实质上是一个列表描述初始点图案和(可选)的随机数生成器的初始状态的参数的一个目的。

There is a print method for this class, which prints a sensible description of the initial state.
有一个print这个类的方法,它会输出一个明智的初始状态的描述。


(作者)----------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, rmhcontrol, rmhmodel
rmh,rmhcontrol,rmhmodel


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


   # 30 random points[30个随机点]
   a <- rmhstart(n.start=30)

   # a particular point pattern[一个特定的点模式]
   data(cells)
   b <- rmhstart(x.start=cells)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 00:48 , Processed in 0.020473 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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