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

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

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

                                        Resample a Point Pattern by Resampling Quadrats
                                         重新取样重新取样样方点模式

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

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

Given a point pattern dataset, create a resampled point pattern by dividing the window into rectangular quadrats and randomly resampling the list of quadrats.
给定一个点的模式数据集,创建的窗口分割成长方形样方和随机重采样的样方取样的点模式。


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


quadratresample(X, nx, ny=nx, ...,
                replace = FALSE, nsamples = 1,
                verbose = (nsamples > 1))



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

参数:X
A point pattern dataset (object of class "ppp").  
点模式集(类的对象"ppp")。


参数:nx,ny
Numbers of quadrats in the x and y directions.  
的样方数在x和y的方向。


参数:...
Ignored.
忽略。


参数:replace
Logical value. Specifies whether quadrats should be sampled with or without replacement.  
逻辑值。指定是否样方进行抽样或不更换。


参数:nsamples
Number of randomised point patterns to be generated.
要生成的随机点图案数。


参数:verbose
Logical value indicating whether to print progress reports.
逻辑值,该值指示是否打印进度报告。


Details

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

This command implements a very simple bootstrap resampling procedure for spatial point patterns X.
该命令实现一个非常简单的引导,重采样过程的空间点模式X。

The dataset X must be a point pattern (object of class "ppp") and its observation window must be a rectangle.
的数据集X必须是点模式(类的对象"ppp")和观察窗必须是一个矩形。

The window is first divided into N = nx * ny rectangular tiles (quadrats) of equal size and shape.  To generate one resampled point pattern, a random sample of N quadrats is selected from the list of N quadrats, with replacement (if replace=TRUE) or without replacement (if replace=FALSE). The ith quadrat in the original dataset is then replaced by the ith sampled quadrat, after the latter is shifted so that it occupies the correct spatial position. The quadrats are then reconstituted into a point pattern inside the same window as X.
窗口第一次分为N = nx * ny矩形砖(样方)的相同的尺寸和形状。要生成一个取样的点模式,以随机抽样的N从列表中N样方,样方选择与更换(如果replace=TRUE)或更换(如果replace=FALSE )。 i TH样中的原始数据集被替换为i:个取样样方后,后者移位,使得它占据了正确的空间位置。样方,然后重新成一个点模式在同一个窗口X。

If replace=FALSE, this procedure effectively involves a random permutation of the quadrats. The resulting resampled point pattern has the same number of points as X. If replace=TRUE, the number of points in the resampled point pattern is random.
如果replace=FALSE,此过程中有效地涉及的随机排列的样方。由此产生的重采样点模式有相同数量的点X。如果replace=TRUE,点的数量在取样的点模式是随机的。


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

A point pattern (if nsamples = 1) or a  list of point patterns (if nsamples > 1).
点模式(如果nsamples = 1)或点模式的列表(如果nsamples > 1)。


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

quadrats, quadratcount.
quadrats,quadratcount。

See varblock to estimate the variance of a summary statistic by block resampling.
见varblock估计方差的摘要统计块重采样。


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


  data(bei)
  quadratresample(bei, 6, 3)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 10:07 , Processed in 0.022379 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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