is.subset.owin(spatstat)
is.subset.owin()所属R语言包:spatstat
Determine Whether One Window is Contained In Another
判断一个窗口是否包含在另一个
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Tests whether window A is a subset of window B.
测试窗口A是否是一个子集的窗口B。
用法----------Usage----------
is.subset.owin(A, B)
参数----------Arguments----------
参数:A
A window object (see Details).
一个窗口对象(见详情)。
参数:B
A window object (see Details).
一个窗口对象(见详情)。
Details
详细信息----------Details----------
This function tests whether the window A is a subset of the window B.
此功能测试窗口是否A是窗口B的一个子集。
The arguments A and B must be window objects (either objects of class "owin", or data that can be coerced to this class by as.owin).
的参数A和B必须的窗口对象(无论是对象的类"owin",或数据可以强制转换为此类as.owin)。
Various algorithms are used, depending on the geometrical type of the two windows.
使用各种算法,根据这两个窗口的几何类型。
Note that if B is not rectangular, the algorithm proceeds by discretising A, converting it to a pixel mask using as.mask. In this case the resulting answer is only “approximately correct”. The accuracy of the approximation can be controlled: see as.mask.
注意,如果B是不是矩形,算法所得款项discretising A,将其转换为像素面膜使用as.mask。在这种情况下所得到的答案是只有“近似正确”。可以控制的近似精度:见as.mask。
值----------Value----------
Logical scalar; TRUE if A is a sub-window of B, otherwise FALSE.
逻辑标量; TRUE如果A是一个子窗口,B,否则FALSE的。
(作者)----------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>
实例----------Examples----------
w1 <- as.owin(c(0,1,0,1))
w2 <- as.owin(c(-1,2,-1,2))
is.subset.owin(w1,w2) # Returns TRUE.[返回TRUE。]
is.subset.owin(w2,w1) # Returns FALSE.[返回FALSE。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|