simulate.kppm(spatstat)
simulate.kppm()所属R语言包:spatstat
Simulate a Fitted Cluster Point Process Model
模拟一个合身的簇生点过程模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Generates simulated realisations from a fitted cluster point process model.
从一个装有聚点过程模型生成模拟实现。
用法----------Usage----------
## S3 method for class 'kppm'
simulate(object, nsim = 1, seed=NULL, ...,
window=NULL, covariates=NULL, verbose=TRUE)
参数----------Arguments----------
参数:object
Fitted cluster point process model. An object of class "kppm".
聚点过程模型拟合。对象的类"kppm"。
参数:nsim
Number of simulated realisations.
号码的模拟变卖。
参数:seed
an object specifying whether and how to initialise the random number generator. Either NULL or an integer that will be used in a call to set.seed before simulating the point patterns.
对象确定是否以及如何初始化随机数发生器。要么NULL或模拟点图案之前,将用于在一个呼叫到set.seed的整数。
参数:...
Ignored.
忽略。
参数:window
Optional. Window (object of class "owin") in which the model should be simulated.
可选。窗口(类"owin")在该模型中模拟的对象。
参数:covariates
Optional. A named list containing new values for the covariates in the model.
可选。命名的列表,其中包含在模型中的协变量的新值。
参数:verbose
Logical. Whether to print progress reports (when nsim > 1).
逻辑。是否打印进度报告(当nsim > 1)。
Details
详细信息----------Details----------
This function is a method for the generic function simulate for the class "kppm" of fitted cluster point process models.
此功能的通用功能的方法simulate类"kppm"装聚点过程模型。
Simulations are performed by rThomas, rMatClust or rLGCP depending on the model.
模拟rThomas,rMatClust或rLGCP视型号而定。
The return value is a list of point patterns. It also carries an attribute "seed" that captures the initial state of the random number generator. This follows the convention used in simulate.lm (see simulate). It can be used to force a sequence of simulations to be repeated exactly, as shown in the examples for simulate.
返回值是点模式的列表。它还带有一个属性"seed",捕获的随机数发生器的初始状态。这是继中使用的约定simulate.lm(见simulate)。它可以用来强制完全重复序列的模拟所示,在实施例中为simulate。
值----------Value----------
A list of length nsim containing simulated point patterns (objects of class "ppp").
列表的长度nsim含模拟点模式(类的对象"ppp"“)。
The return value also carries an attribute "seed" that captures the initial state of the random number generator. See Details.
的返回值还带有一个属性"seed",捕获的随机数发生器的初始状态。查看详细信息。
(作者)----------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----------
kppm, rThomas, rMatClust, rLGCP, simulate.ppm, simulate
kppm,rThomas,rMatClust,rLGCP,simulate.ppm,simulate
实例----------Examples----------
data(redwood)
fit <- kppm(redwood, ~1, "Thomas")
simulate(fit, 2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|