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

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

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

                                        Divide Region into Quadrats
                                         分割区样方

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

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

Divides window into rectangular quadrats and  returns the quadrats as a tessellation.
将窗口镶嵌长方形样地和样方返回。


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


quadrats(X, nx = 5, ny = nx, xbreaks = NULL, ybreaks = NULL, keepempty=FALSE)



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

参数:X
A window (object of class "owin") or anything that can be coerced to a window using as.owin, such as a point pattern.  
一个窗口,(对象类"owin")或任何可以强制转换为一个窗口,使用as.owin,如点图案。


参数:nx,ny
Numbers of quadrats in the x and y directions. Incompatible with xbreaks and ybreaks.  
的样方数在x和y的方向。不兼容的xbreaks和ybreaks。


参数:xbreaks
Numeric vector giving the x coordinates of the boundaries of the quadrats. Incompatible with nx.  
数值向量给x的样方的边界的坐标。不相容的nx。


参数:ybreaks
Numeric vector giving the y coordinates of the boundaries of the quadrats. Incompatible with ny.  
数值向量给y的样方的边界的坐标。不相容的ny。


参数:keepempty
Logical value indicating whether to delete or retain empty quadrats. See Details.  
逻辑值,该值指示是否保留或删除空的样方。查看详细信息。


Details

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

If the window X is a rectangle, it is divided into an nx * ny grid of rectangular tiles or "quadrats".
如果窗口X是一个矩形,它被分成一个nx * ny网格的矩形砖或样方。

If X is not a rectangle, then the bounding rectangle of X is first divided into an nx * ny grid of rectangular tiles, and these tiles are then intersected with the window X.
如果X是不是一个矩形,然后在边界矩形X首先被划分成一个nx * ny格的矩形砖,瓷砖,然后相交的窗口X 。

The resulting tiles are returned as a tessellation (object of class "tess") which can be plotted and used in other analyses.
将所得的砖作为镶嵌(返回类对象"tess")可以绘制和其它分析中使用。

If xbreaks is given, it should be a numeric vector giving the x coordinates of the quadrat boundaries. If it is not given, it defaults to a sequence of nx+1 values equally spaced over the range of x coordinates in the window X$window.
如果xbreaks,它应该是一个数值向量给x样方的边界坐标。如果没有给出,它默认的序列nx+1值同样间隔的窗口xX$window坐标的范围内。

Similarly if ybreaks is given, it should be a numeric vector giving the y coordinates of the quadrat boundaries. It defaults to a vector of ny+1 values equally spaced over the range of y coordinates in the window. The lengths of xbreaks and ybreaks may be different.
同样,如果ybreaks,它应该是一个数值向量给y样方的边界坐标。它默认的向量ny+1值y在窗口中的坐标的范围内,同样间隔。的长度xbreaks和ybreaks可能是不同的。

By default (if keepempty=FALSE), any rectangular tile which does not intersect the window X is ignored, and only the non-empty intersections are treated as quadrats, so the tessellation may consist of fewer than nx * ny tiles. If keepempty=TRUE, empty intersections are retained, and the tessellation always contains exactly nx * ny tiles, some of which may be empty.
默认情况下(如果keepempty=FALSE),任何长方形瓷砖不相交窗口X被忽略,只有非空的交集视为样方,所以Tessellation(曲面细分)可能包括少于nx * ny地砖。如果keepempty=TRUE,空交叉点被保留,Tessellation(曲面细分)总是包含完全nx * ny砖,其中一些可能是空的。


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

A tessellation (object of class "tess") as described under tess.
类的对象,一个Tessellation(曲面细分)("tess")在tess。


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

tess, quadratcount, quadrat.test, quadratresample
tess,quadratcount,quadrat.test,quadratresample


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


W <- square(10)
Z <- quadrats(W, 4, 5)
plot(Z)

data(letterR)
plot(quadrats(letterR, 5, 7))

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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