bounding.box.xy(spatstat)
bounding.box.xy()所属R语言包:spatstat
Convex Hull of Points
凸壳点
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the smallest rectangle containing a set of points.
计算含有的一组点的最小矩形。
用法----------Usage----------
bounding.box.xy(x, y=NULL)
参数----------Arguments----------
参数:x
vector of x coordinates of observed points, or a 2-column matrix giving x,y coordinates, or a list with components x,y giving coordinates (such as a point pattern object of class "ppp".)
向量的x观察到的点的坐标,或给予x,y坐标,或组件的列表与2列的矩阵x,y给坐标(如类的对象的点图案中的<X >)。
参数:y
(optional) vector of y coordinates of observed points, if x is a vector.
(可选),如果y观测点的坐标向量x是一个向量。
Details
详细信息----------Details----------
Given an observed pattern of points with coordinates given by x and y, this function finds the smallest rectangle, with sides parallel to the coordinate axes, that contains all the points, and returns it as a window.
由于观察到的模式给出的坐标点x和y,此功能发现的最小的矩形,边平行于坐标轴,包含所有的点,并返回它作为一个窗口。
值----------Value----------
A window (an object of class "owin").
一个窗口(类的一个对象"owin"“)。
(作者)----------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----------
owin, as.owin, convexhull.xy, ripras
owin,as.owin,convexhull.xy,ripras
实例----------Examples----------
x <- runif(30)
y <- runif(30)
w <- bounding.box.xy(x,y)
plot(owin(), main="bounding.box.xy(x,y)")
plot(w, add=TRUE)
points(x,y)
X <- rpoispp(30)
plot(X, main="bounding.box.xy(X)")
plot(bounding.box.xy(X), add=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|