rMosaicSet(spatstat)
rMosaicSet()所属R语言包:spatstat
Mosaic Random Set
马赛克随机集
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Generate a random set by taking a random selection of tiles of a given tessellation.
一组随机生成一个随机选择瓷砖的Tessellation(曲面细分)。
用法----------Usage----------
rMosaicSet(X, p=0.5)
参数----------Arguments----------
参数:X
A tessellation (object of class "tess").
镶嵌(类的对象"tess")。
参数:p
Probability of including a given tile. A number strictly between 0 and 1.
包括瓷砖的概率。一些严格的0和1之间。
Details
详细信息----------Details----------
Given a tessellation X, this function randomly selects some of the tiles of X, including each tile with probability p independently of the other tiles. The selected tiles are then combined to form a set in the plane.
给定一个镶嵌式X,此函数中随机选择一些X的瓦片,其中每一瓦片与概率p独立于其他瓷砖。所选的瓷砖,然后结合起来,以形成一组在平面上。
One application of this is Switzer's (1965) example of a random set which has a Markov property. It is constructed by generating X according to a Poisson line tessellation (see rpoislinetess).
这是瑞士(1965年)的例子,其中有一个马尔可夫性的一组随机的一个应用程序。它是通过产生X的泊松线的Tessellation(曲面细分)(见rpoislinetess)。
值----------Value----------
A window (object of class "owin").
一个窗口(类的对象"owin"“)。
(作者)----------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----------
A random set process in the plane with a Markovian property. Annals of Mathematical Statistics 36 (1965) 1859–1863.
参见----------See Also----------
rpoislinetess, rMosaicField
rpoislinetess,rMosaicField
实例----------Examples----------
# Switzer's random set[瑞士的随机集]
X <- rpoislinetess(3)
plot(rMosaicSet(X, 0.5), col="green", border=NA)
# another example[另一个例子]
plot(rMosaicSet(dirichlet(runifpoint(30)), 0.4))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|