corners(spatstat)
corners()所属R语言包:spatstat
Corners of a rectangle
矩形的角落
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the four corners of a rectangle
返回一个矩形的四个角
用法----------Usage----------
corners(window)
参数----------Arguments----------
参数:window
A window. An object of class owin, or data in any format acceptable to as.owin().
一个窗口。对象的类owin,或任何格式的数据中接受的as.owin()。
Details
详细信息----------Details----------
This trivial function is occasionally convenient. If window is of type "rectangle" this returns the four corners of the window itself; otherwise, it returns the corners of the bounding rectangle of the window.
这个小功能是偶尔方便。如果window是的类型"rectangle"返回四个角落的窗口本身,否则,它会返回窗口的边界矩形的边角。
值----------Value----------
A list with two components x and y, which are numeric vectors of length 4 giving the coordinates of the four corner points of the (bounding rectangle of the) window.
一个列表,x和y,这是数字给窗口(矩形边界)的4个角点的坐标向量的长度为4两部分组成。
(作者)----------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----------
quad.object, quadscheme
quad.object,quadscheme
实例----------Examples----------
w <- unit.square()
corners(w)
# returns list(x=c(0,1,0,1),y=c(0,0,1,1))[返回列表((0,1,0,1)X = C,Y = C(0,0,1,1))]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|