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

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

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

                                        Mosaic Random Field
                                         马赛克随机场

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

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

Generate a realisation of a random field which is piecewise constant on the tiles of a given tessellation.
生成一个随机的领域,这是一个给定的镶嵌在地砖上分段常数实现。


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


rMosaicField(X,
    rgen = function(n) { sample(0:1, n, replace = TRUE)},
    ...,
    rgenargs=NULL)



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

参数:X
A tessellation (object of class "tess").  
镶嵌(类的对象"tess")。


参数:...
Arguments passed to as.mask determining the pixel resolution.  
参数传递给as.mask确定像素的分辨率。


参数:rgen
Function that generates random values for the tiles of the tessellation.  
镶嵌的瓷砖的功能,生成的随机值。


参数:rgenargs
List containing extra arguments that should be passed to rgen (typically specifying parameters of the distribution of the values).  
列表包含额外的参数传递给rgen(通常是指定参数的值的分布)。


Details

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

This function generates a realisation of a random field which is piecewise constant on the tiles of the given tessellation X. The values in each tile are independent and identically distributed.
这个函数生成一个随机的领域,这是一个实现分段常数在地砖上的Tessellation(曲面细分)X。在每瓦的值是独立同分布的。


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

A pixel image (object of class "im").
像素的图像(类的对象"im"“)。


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

rpoislinetess, rMosaicSet
rpoislinetess,rMosaicSet


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


   X <- rpoislinetess(3)
   plot(rMosaicField(X, runif))
   plot(rMosaicField(X, runif, dimyx=256))
   plot(rMosaicField(X, rnorm, rgenargs=list(mean=10, sd=2)))

   plot(rMosaicField(dirichlet(runifpoint(30)), rnorm))

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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