diameter.owin(spatstat)
diameter.owin()所属R语言包:spatstat
Diameter of a Window
一个窗口直径
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the diameter of a window.
计算一个窗口的直径。
用法----------Usage----------
## S3 method for class 'owin'
diameter(x)
参数----------Arguments----------
参数:x
A window whose diameter will be computed.
一个窗口,其直径将被计算。
Details
详细信息----------Details----------
This function computes the diameter of a window of arbitrary shape, i.e. the maximum distance between any two points in the window.
该函数计算的任意形状的窗口的直径,即在窗口中的任意两个点之间的最大距离。
The argument x should be a window (an object of class "owin", see owin.object for details) or can be given in any format acceptable to as.owin().
参数x应该是一个窗口类的一个对象"owin",看到owin.object的详细信息,或可以以任何格式的接受的as.owin()。
The function diameter is generic. This function is the method for the class "owin".
函数diameter是通用的。此功能是的方法类"owin"。
值----------Value----------
The numerical value of the diameter of the .
的直径的数值。
(作者)----------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----------
area.owin, perimeter, owin, as.owin
area.owin,perimeter,owin,as.owin
实例----------Examples----------
w <- owin(c(0,1),c(0,1))
diameter(w)
# returns sqrt(2)[返回SQRT(2)]
data(letterR)
diameter(letterR)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|